Re: 230-objrmap fixes for 2.6.3-mjb2

From: Dave McCracken
Date: Wed Mar 03 2004 - 12:11:03 EST



--On Wednesday, March 03, 2004 17:57:46 +0100 Andrea Arcangeli
<andrea@xxxxxxx> wrote:

>> There was talk at one point of moving the "unswappable" state down into
>> the struct page. Is that still realistic? It would seem rather more
>> efficient, but I forget what problem we ran into with it.
>
> that already exists and it's PG_reserved, but it's inefficient compared
> to VM_RESERVED, since it forces the vm to check all ptes.

What we've actually discussed before was more along the lines of PG_locked
to match VM_LOCKED, but the main idea was to be able to skip over
ineligible pages without having ot look up their mappings during pageout.

Dave McCracken

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