Re: [patch 1/2] mm: fincore()

From: Andrew Morton
Date: Fri Feb 15 2013 - 17:34:37 EST

On Fri, 15 Feb 2013 17:28:03 -0500
Johannes Weiner <hannes@xxxxxxxxxxx> wrote:

> > Yes, and there will be immediate calmour to add more goodies to the
> > other seven bits. PageDirty, referenced state, etc. We should think
> > about this now, at the design stage rather than grafting things on
> > later.
> I'm interested in your "etc.". PG_error, PG_active, PG_writeback,
> page huge?

Gawd knows. How many crazy people are there out there?

If we adopt my use-runlength-encoding suggestion then things get
easier. We add an extra arg to the syscall which selects which
particular per-page boolean we're looking for and can gather up to 4
billion different PageFoo()s.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at