Re: [PATCH] rmaplock 1/6 PageAnon in mapping

From: Andrew Morton
Date: Mon Jul 12 2004 - 23:51:30 EST


Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
>
> Replace the PG_anon page->flags bit by setting the lower bit of the
> pointer in page->mapping when it's anon_vma: PAGE_MAPPING_ANON bit.

This is likely to cause conniptions in various quarters. Is there no
alternative?

It might make things more palatable to hide the setting, clearing testing
amd masking of this bit behind some set of wrapper functions. Maybe.
-
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/