Re: MM deadlock [was: Re: arca-vm-8...]

Linus Torvalds
1999-01-25T20:59:21Z

On Mon, 25 Jan 1999, Dr. Werner Fink wrote:
>
> This hypothetical bit should only be set if the page is read physical
> from the swap device/file. That means it would take one step more
> to swap out this page again (test_and_clear_bit of both
> PG_recently_swapped_in and PG_referenced).

Ehh - it is already marked "accessed" in the page tables, which
essentially amounts to exactly that kind of two-level aging (the
PG_referenced bit only takes effect once the swapped-in page has once more
been evicted from the page tables)

Linus

--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/