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

Linus Torvalds (torvalds@transmeta.com)
Mon, 25 Jan 1999 12:56:21 -0800 (PST)


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/