Re: [PATCH 11/12] mm: accurate pageout congestion wait

2007-04-05 Thread Peter Zijlstra
On Thu, 2007-04-05 at 16:17 -0700, Andrew Morton wrote: > On Thu, 05 Apr 2007 19:42:20 +0200 > [EMAIL PROTECTED] wrote: > > > Only do the congestion wait when we actually encountered congestion. > > The name congestion_wait() was accurate back in 2002, but it isn't accurate > any more, and you go

Re: [PATCH 11/12] mm: accurate pageout congestion wait

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 19:42:20 +0200 [EMAIL PROTECTED] wrote: > Only do the congestion wait when we actually encountered congestion. The name congestion_wait() was accurate back in 2002, but it isn't accurate any more, and you got misled. It does not only wait for a queue to become uncongested. S

[PATCH 11/12] mm: accurate pageout congestion wait

2007-04-05 Thread root
Only do the congestion wait when we actually encountered congestion. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/swap.h |1 + mm/page_io.c |9 + mm/vmscan.c | 25 - 3 files changed, 30 insertions(+), 5 deletions(-