Re: [PATCH] Improve heuristic detecting sequential reads

2007-04-10 Thread WU Fengguang
On Tue, Apr 10, 2007 at 04:45:40PM -0700, Andrew Morton wrote: On 11 Apr 2007 00:56:51 +0200 Andi Kleen [EMAIL PROTECTED] wrote: There's a much more complete patchkit for this that gets reposted regularly on l-k. Perhaps it would make sense to test that first? adaptive readahead? Has

Re: [PATCH 00/11] writeback bug fixes and simplifications

2008-01-08 Thread WU Fengguang
On Sat, Dec 29, 2007 at 03:56:59PM +0100, Hans-Peter Jansen wrote: Am Freitag, 28. Dezember 2007 schrieb Sascha Warner: Andrew Morton wrote: On Thu, 27 Dec 2007 23:08:40 +0100 Sascha Warner [EMAIL PROTECTED] wrote: Hi, I applied your patches to 2.6.24-rc6-mm1, but now I am faced

Re: [PATCH 00/11] writeback bug fixes and simplifications

2007-12-28 Thread WU Fengguang
On Fri, Dec 28, 2007 at 03:01:11PM -0800, Andrew Morton wrote: On Thu, 27 Dec 2007 23:08:40 +0100 Sascha Warner [EMAIL PROTECTED] wrote: Hi, I applied your patches to 2.6.24-rc6-mm1, but now I am faced with one pdflush often using 100% CPU for a long time. There seem to be some rare

Re: [PATCH 00/11] writeback bug fixes and simplifications

2007-12-29 Thread WU Fengguang
On Fri, Dec 28, 2007 at 05:27:38AM +0100, Sascha Warner wrote: Andrew Morton wrote: On Thu, 27 Dec 2007 23:08:40 +0100 Sascha Warner [EMAIL PROTECTED] wrote: Hi, I applied your patches to 2.6.24-rc6-mm1, but now I am faced with one pdflush often using 100% CPU for a long time.

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-13 Thread WU Fengguang
On Sun, Aug 12, 2007 at 04:17:44PM +0100, Alan Cox wrote: Try this (it compiles but isnt tested). Its a weekend here, the sun is shining, the beach is a short walk, and I have more interesting things to do right now 8) Have a nice day~~~ It works! --- linux.vanilla-2.6.23rc1-mm1/mm/mmap.c

Re: [PATCH] PSS(proportional set size) accounting in smaps

2007-08-14 Thread WU Fengguang
On Tue, Aug 14, 2007 at 10:57:31AM +0530, Balbir Singh wrote: I keep forgetting to check that you are on the cc. My email client loves dropping you from the to/cc list. hehe, sorry for my crappy smtp server ;) Fengguang Wu wrote: The proportional set size (PSS) of a process is the count of

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-15 Thread WU Fengguang
On Tue, Aug 14, 2007 at 10:10:58AM -0700, Andy Isaacson wrote: On Sun, Aug 12, 2007 at 08:27:46PM +0800, WU Fengguang wrote: On Sun, Aug 12, 2007 at 05:27:52PM +0530, Balbir Singh wrote: For some reason my mailer keeps removing you from the cc. Or maybe it's my SMTP server's problem

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-11 Thread WU Fengguang
On Sat, Aug 11, 2007 at 10:00:15AM -0700, Andrew Morton wrote: On Sat, 11 Aug 2007 20:00:12 +0530 Balbir Singh [EMAIL PROTECTED] wrote: On 8/11/07, Fengguang Wu [EMAIL PROTECTED] wrote: hm, both people who replied to this removed Fengguang from cc. Disagreement between headers and MUAs,

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-11 Thread WU Fengguang
On Sat, Aug 11, 2007 at 11:31:09PM +0530, Balbir Singh wrote: Andrew Morton wrote: On Sat, 11 Aug 2007 20:00:12 +0530 Balbir Singh [EMAIL PROTECTED] wrote: Shouldn't we just not stop vm accounting for kernel threads? Could be. It'd help heaps if we knew which patch in -mm caused

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-12 Thread WU Fengguang
On Sun, Aug 12, 2007 at 01:48:31PM +0800, WU Fengguang wrote: On Sat, Aug 11, 2007 at 11:31:09PM +0530, Balbir Singh wrote: Andrew Morton wrote: On Sat, 11 Aug 2007 20:00:12 +0530 Balbir Singh [EMAIL PROTECTED] wrote: Shouldn't we just not stop vm accounting for kernel threads

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-12 Thread WU Fengguang
Hi Balbir, [add CC to LKML] On Sun, Aug 12, 2007 at 05:27:52PM +0530, Balbir Singh wrote: For some reason my mailer keeps removing you from the cc. Or maybe it's my SMTP server's problem. Email systems are complex. Thats a valid point. It would be interesting to see what the overcommit

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-12 Thread WU Fengguang
On Sun, Aug 12, 2007 at 02:19:05PM +0100, Alan Cox wrote: Great! So the problem might have existed for some time, but we never saw it due to default over commit values? Were you using these values for over commit even before? No I changed it several weeks ago to stop my desktop from

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-12 Thread WU Fengguang
On Sun, Aug 12, 2007 at 08:21:43PM +0400, Cyrill Gorcunov wrote: [Alan Cox - Sun, Aug 12, 2007 at 04:17:44PM +0100] | Try this (it compiles but isnt tested). Its a weekend here, the sun is | shining, the beach is a short walk, and I have more interesting things to | do right now 8) | |

Re: radix-tree.c:__lookup_slot() dead code removal

2006-12-04 Thread WU Fengguang
On Mon, Dec 04, 2006 at 09:18:40PM +1100, Nick Piggin wrote: Frank van Maarseveen wrote: Most of the code suggests that it is valid to insert a NULL item, possibly a zero item with pointer cast. However, in __lookup_slot() whether or not the slot is found seems to depend on the actual value

Re: [PATCH 12/28] readahead: state based method - aging accounting

2006-11-16 Thread Wu Fengguang
On Wed, Nov 15, 2006 at 08:54:44AM -0800, Christoph Lameter wrote: On Wed, 15 Nov 2006, Wu Fengguang wrote: Collect info about the global available memory and its consumption speed. The data are used by the stateful method to estimate the thrashing threshold. Looks like you should use

Re: radix-tree.c:__lookup_slot() dead code removal

2006-12-04 Thread WU Fengguang
On Mon, Dec 04, 2006 at 09:18:40PM +1100, Nick Piggin wrote: > Frank van Maarseveen wrote: > >Most of the code suggests that it is valid to insert a NULL item, > >possibly a zero item with pointer cast. However, in __lookup_slot() > >whether or not the slot is found seems to depend on the actual

Re: [PATCH 12/28] readahead: state based method - aging accounting

2006-11-16 Thread Wu Fengguang
On Wed, Nov 15, 2006 at 08:54:44AM -0800, Christoph Lameter wrote: > On Wed, 15 Nov 2006, Wu Fengguang wrote: > > > Collect info about the global available memory and its consumption speed. > > The data are used by the stateful method to estimate the thrashing > > thresh

Re: [PATCH] Improve heuristic detecting sequential reads

2007-04-10 Thread WU Fengguang
On Tue, Apr 10, 2007 at 04:45:40PM -0700, Andrew Morton wrote: > On 11 Apr 2007 00:56:51 +0200 > Andi Kleen <[EMAIL PROTECTED]> wrote: > > > There's a much more complete patchkit for this that gets reposted > > regularly on l-k. Perhaps it would make sense to test that first? > > adaptive

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-11 Thread WU Fengguang
On Sat, Aug 11, 2007 at 10:00:15AM -0700, Andrew Morton wrote: > On Sat, 11 Aug 2007 20:00:12 +0530 "Balbir Singh" <[EMAIL PROTECTED]> wrote: > > > On 8/11/07, Fengguang Wu <[EMAIL PROTECTED]> wrote: > > hm, both people who replied to this removed Fengguang from cc. Disagreement > between

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-11 Thread WU Fengguang
On Sat, Aug 11, 2007 at 11:31:09PM +0530, Balbir Singh wrote: > Andrew Morton wrote: > > On Sat, 11 Aug 2007 20:00:12 +0530 "Balbir Singh" <[EMAIL PROTECTED]> wrote: > >>> > >> Shouldn't we just not stop vm accounting for kernel threads? > >> > > > > Could be. It'd help heaps if we knew which

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-12 Thread WU Fengguang
On Sun, Aug 12, 2007 at 01:48:31PM +0800, WU Fengguang wrote: > On Sat, Aug 11, 2007 at 11:31:09PM +0530, Balbir Singh wrote: > > Andrew Morton wrote: > > > On Sat, 11 Aug 2007 20:00:12 +0530 "Balbir Singh" <[EMAIL PROTECTED]> > > > wrote: > > &g

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-12 Thread WU Fengguang
Hi Balbir, [add CC to LKML] On Sun, Aug 12, 2007 at 05:27:52PM +0530, Balbir Singh wrote: > For some reason my mailer keeps removing you from the cc. Or maybe it's my SMTP server's problem. Email systems are complex. > >>> Thats a valid point. It would be interesting to see what the overcommit

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-12 Thread WU Fengguang
On Sun, Aug 12, 2007 at 02:19:05PM +0100, Alan Cox wrote: > > > Great! So the problem might have existed for some time, but we never > > > saw it due to default over commit values? Were you using these values > > > for over commit even before? > > > > No I changed it several weeks ago to stop my

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-12 Thread WU Fengguang
On Sun, Aug 12, 2007 at 08:21:43PM +0400, Cyrill Gorcunov wrote: > [Alan Cox - Sun, Aug 12, 2007 at 04:17:44PM +0100] > | Try this (it compiles but isnt tested). Its a weekend here, the sun is > | shining, the beach is a short walk, and I have more interesting things to > | do right now 8) > | >

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-13 Thread WU Fengguang
On Sun, Aug 12, 2007 at 04:17:44PM +0100, Alan Cox wrote: > Try this (it compiles but isnt tested). Its a weekend here, the sun is > shining, the beach is a short walk, and I have more interesting things to > do right now 8) Have a nice day~~~ It works! > ---

Re: [PATCH] PSS(proportional set size) accounting in smaps

2007-08-14 Thread WU Fengguang
On Tue, Aug 14, 2007 at 10:57:31AM +0530, Balbir Singh wrote: > I keep forgetting to check that you are on the cc. My email client > loves dropping you from the to/cc list. hehe, sorry for my crappy smtp server ;) > Fengguang Wu wrote: > > The "proportional set size" (PSS) of a process is the

Re: [BUGFIX] NULL pointer dereference in __vm_enough_memory()

2007-08-15 Thread WU Fengguang
On Tue, Aug 14, 2007 at 10:10:58AM -0700, Andy Isaacson wrote: > On Sun, Aug 12, 2007 at 08:27:46PM +0800, WU Fengguang wrote: > > On Sun, Aug 12, 2007 at 05:27:52PM +0530, Balbir Singh wrote: > > > For some reason my mailer keeps removing you from the cc. > > > >

Re: [PATCH 00/11] writeback bug fixes and simplifications

2008-01-08 Thread WU Fengguang
On Sat, Dec 29, 2007 at 03:56:59PM +0100, Hans-Peter Jansen wrote: > Am Freitag, 28. Dezember 2007 schrieb Sascha Warner: > > Andrew Morton wrote: > > > On Thu, 27 Dec 2007 23:08:40 +0100 Sascha Warner <[EMAIL PROTECTED]> > wrote: > > >> Hi, > > >> > > >> I applied your patches to 2.6.24-rc6-mm1,

Re: [PATCH 00/11] writeback bug fixes and simplifications

2007-12-28 Thread WU Fengguang
On Fri, Dec 28, 2007 at 03:01:11PM -0800, Andrew Morton wrote: > On Thu, 27 Dec 2007 23:08:40 +0100 Sascha Warner <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I applied your patches to 2.6.24-rc6-mm1, but now I am faced with one > > pdflush often using 100% CPU for a long time. There seem to be

Re: [PATCH 00/11] writeback bug fixes and simplifications

2007-12-29 Thread WU Fengguang
On Fri, Dec 28, 2007 at 05:27:38AM +0100, Sascha Warner wrote: > Andrew Morton wrote: > > On Thu, 27 Dec 2007 23:08:40 +0100 Sascha Warner <[EMAIL PROTECTED]> wrote: > > > > > >> Hi, > >> > >> I applied your patches to 2.6.24-rc6-mm1, but now I am faced with one > >> pdflush often using 100%

Re: [PATCH for vm-scalability] usemem: Add code for touch-alloc

2021-04-09 Thread Wu Fengguang
Applied, thanks! On Thu, Apr 08, 2021 at 09:42:55PM +0800, Hui Zhu wrote: Add code for touch-alloc. And Change read memory to write memory to avoid use the zero-page for reads in do_anonymous_page. Signed-off-by: Hui Zhu --- usemem.c | 34 ++ 1 file changed, 22

Re: [PATCH for vm-scalability] usemem: Output a message after punch holes done

2021-04-17 Thread Wu Fengguang
Applied, thanks!