Re: [PATCH -mm 17/25] Mlocked Pages are non-reclaimable

Rik van Riel
2008-06-10T12:50:11Z

On Tue, 10 Jun 2008 05:31:30 +0200
Nick Piggin <npiggin@suse.de> wrote:

> It should definitely be enabled for 32-bit machines, and enabled by default.
> The argument is that 32 bit machines won't have much memory so it won't
> be a problem, but a) it also has to work well on other machines without
> much memory, and b) it is a nightmare to have significant behaviour changes
> like this. For kernel development as well as kernel running.
>
> If we eventually run out of page flags on 32 bit, then sure this might be
> one we could look at geting rid of. Once the code has proven itself.

Alternatively, we tell the 32 bit people not to compile their kernel
with support for 64 NUMA nodes :)

The number of page flags on 32 bits is (32 - ZONE_SHIFT - NODE_SHIFT)
after Christoph's cleanup and no longer a fixed number.

Does anyone compile a 32 bit kernel with a large (ZONE_SHIFT + NODE_SHIFT)?

--
All rights reversed.