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

From: Rik van Riel
Date: Tue Jun 10 2008 - 08:50:53 EST


On Tue, 10 Jun 2008 05:31:30 +0200
Nick Piggin <npiggin@xxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/