[patch 19/47] Optimize reference bit handling.

2007-12-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> page_referenced always tests and clears the reference bit in the storage key, even if the page is not mapped. For a page that is only accessed with sys_read this has a negative side effect. A page that is only read once makes two trips over the

[patch 19/47] Optimize reference bit handling.

2007-12-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] page_referenced always tests and clears the reference bit in the storage key, even if the page is not mapped. For a page that is only accessed with sys_read this has a negative side effect. A page that is only read once makes two trips over the inactive