Re: 230-objrmap fixes for 2.6.3-mjb2

From: Andrea Arcangeli
Date: Wed Mar 03 2004 - 18:19:57 EST


On Wed, Mar 03, 2004 at 01:39:35PM -0800, Martin J. Bligh wrote:
> > what we do in 2.4 and that works pretty well, that is simply to refile
> > pages into the active list if they're mlocked, so we don't waste too
> > much cpu on them since we don't analyze them too often. this should work
> > pretty well for everybody, or peraphs google may prefer to have a fully
> > consistent PG_mlocked.
>
> If the page is actually mlocked, wouldn't it make more sense to remove
> it from both the active and inactive lists altogether? Scanning it seems
> like it'd be less than fruitful.

yes, that's probably better, but the brainer part of the code is
probably the same as for maintaining the bitflag.
-
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/