RE: [PATCH v2] mm: show free pages per each migrate type

2015-04-13 Thread David Rientjes
On Sun, 12 Apr 2015, ZhangNeil wrote: > > Sorry, this is just way too verbose. This output is emitted to the kernel > > log on oom kill and since we lack a notification mechanism on system oom, > > the _only_ way for userspace to detect oom kills that have occurred is by > > scraping the kernel lo

Re: [PATCH v2] mm: show free pages per each migrate type

2015-04-12 Thread Andrew Morton
On Sun, 12 Apr 2015 07:17:11 + ZhangNeil wrote: > I calculate the__nr_free[][] again, it is an 6x11 array of 8 in the worst > case, that is 528B, is it acceptable? I don't think so. This is hardly a critical change and that's a high cost. -- To unsubscribe from this list: send the line "un

RE: [PATCH v2] mm: show free pages per each migrate type

2015-04-12 Thread ZhangNeil
> Date: Thu, 9 Apr 2015 21:24:41 -0700 > From: a...@linux-foundation.org > To: neilzhang1...@hotmail.com > CC: linux...@kvack.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2] mm: show free pages per each migrate type > > O

RE: [PATCH v2] mm: show free pages per each migrate type

2015-04-12 Thread ZhangNeil
> Date: Fri, 10 Apr 2015 19:50:07 -0700 > From: rient...@google.com > To: neilzhang1...@hotmail.com > CC: linux...@kvack.org; linux-kernel@vger.kernel.org; > a...@linux-foundation.org > Subject: Re: [PATCH v2] mm: show free pages per

Re: [PATCH v2] mm: show free pages per each migrate type

2015-04-10 Thread David Rientjes
On Thu, 9 Apr 2015, Neil Zhang wrote: > show detailed free pages per each migrate type in show_free_areas. > > After apply this patch, the log printed out will be changed from > > [ 558.212844@0] Normal: 218*4kB (UEMC) 207*8kB (UEMC) 126*16kB (UEMC) > 21*32kB (UC) 5*64kB (C) 3*128kB (C) 1*256

Re: [PATCH v2] mm: show free pages per each migrate type

2015-04-09 Thread Andrew Morton
On Thu, 9 Apr 2015 10:19:10 +0800 Neil Zhang wrote: > show detailed free pages per each migrate type in show_free_areas. > > After apply this patch, the log printed out will be changed from > > [ 558.212844@0] Normal: 218*4kB (UEMC) 207*8kB (UEMC) 126*16kB (UEMC) > 21*32kB (UC) 5*64kB (C) 3*

[PATCH v2] mm: show free pages per each migrate type

2015-04-08 Thread Neil Zhang
show detailed free pages per each migrate type in show_free_areas. After apply this patch, the log printed out will be changed from [ 558.212844@0] Normal: 218*4kB (UEMC) 207*8kB (UEMC) 126*16kB (UEMC) 21*32kB (UC) 5*64kB (C) 3*128kB (C) 1*256kB (C) 1*512kB (C) 0*1024kB 0*2048kB 1*4096kB (R)