Re: Problem with /proc/sys/vm/lowmem_reserve_ratio

2008-02-20 Thread Andrew Morton
On Wed, 20 Feb 2008 13:53:14 +0100 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-02-19 at 15:55 -0800, Andrew Morton wrote: > > On Tue, 19 Feb 2008 16:35:49 -0500 Larry Woodman <[EMAIL PROTECTED]> wrote: > > > > > balance_pgdat() calls zone_watermark_ok() three times, the first call

Re: Problem with /proc/sys/vm/lowmem_reserve_ratio

2008-02-20 Thread Peter Zijlstra
On Tue, 2008-02-19 at 15:55 -0800, Andrew Morton wrote: > On Tue, 19 Feb 2008 16:35:49 -0500 Larry Woodman <[EMAIL PROTECTED]> wrote: > > > balance_pgdat() calls zone_watermark_ok() three times, the first call > > passes a zero(0) in as the 4th argument. This 4th argument is the > > classzone_id

Re: Problem with /proc/sys/vm/lowmem_reserve_ratio

2008-02-19 Thread Andrew Morton
On Tue, 19 Feb 2008 16:35:49 -0500 Larry Woodman <[EMAIL PROTECTED]> wrote: > balance_pgdat() calls zone_watermark_ok() three times, the first call > passes a zero(0) in as the 4th argument. This 4th argument is the > classzone_idx which is used as the index into the zone->lowmem_reserve[] > arr

Problem with /proc/sys/vm/lowmem_reserve_ratio

2008-02-19 Thread Larry Woodman
balance_pgdat() calls zone_watermark_ok() three times, the first call passes a zero(0) in as the 4th argument. This 4th argument is the classzone_idx which is used as the index into the zone->lowmem_reserve[] array. Since setup_per_zone_lowmem_reserve() always sets the zone->lowmem_reserve[0]

Re: Problem with /proc/sys/vm/lowmem_reserve_ratio ???

2008-02-18 Thread Rik van Riel
On Mon, 18 Feb 2008 09:33:05 -0500 Jeff Moyer <[EMAIL PROTECTED]> wrote: > Larry Woodman <[EMAIL PROTECTED]> writes: > > > balance_pgdat() calls zone_watermark_ok() three times, the first call > > passes a zero(0) in as the 4th argument. This 4th argument is the > > classzone_idx which is used a

Re: Problem with /proc/sys/vm/lowmem_reserve_ratio ???

2008-02-18 Thread Jeff Moyer
Larry Woodman <[EMAIL PROTECTED]> writes: > balance_pgdat() calls zone_watermark_ok() three times, the first call > passes a zero(0) in as the 4th argument. This 4th argument is the > classzone_idx which is used as the index into the > zone->lowmem_reserve[] array. Since setup_per_zone_lowmem_re

Problem with /proc/sys/vm/lowmem_reserve_ratio ???

2008-02-15 Thread Larry Woodman
balance_pgdat() calls zone_watermark_ok() three times, the first call passes a zero(0) in as the 4th argument. This 4th argument is the classzone_idx which is used as the index into the zone->lowmem_reserve[] array. Since setup_per_zone_lowmem_reserve() always sets the zone->lowmem_reserve[0]