Re: [PATCH 06/45] FS-Cache: Recruit a couple of page flags for cache management [ver #41]

From: David Howells
Date: Fri Nov 21 2008 - 05:32:22 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> ow, that hurt. Every time someone does this I ask "how many are left"
> but nobody seems to know how to work it out.

Yeah, that worries me a bit too. That why we looked at reclaiming PG_private.
The patches to do that didn't appear to be interesting, however.

> How many are left?

It depends on the configuration, but with maximum usage, 24 are used, except
on IA64 where 25 are used.

> I'd suggest that we make PagePrivate() go away completely, to prevent
> accidental usages from sneaking back in. If that's practical.

Well, there are still some places where PG_private does need to be checked
individually.

David
--
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/