Martin Schwidefsky 50a15981a1 [S390] reference bit testing for unmapped pages
On x86 a page without a mapper is by definition not referenced / old.
The s390 architecture keeps the reference bit in the storage key and
the current code will check the storage key for page without a mapper.
This leads to an interesting effect: the first time an s390 system
needs to write pages to swap it only finds referenced pages. This
causes a lot of pages to get added and written to the swap device.
To avoid this behaviour change page_referenced to query the storage
key only if there is a mapper of the page.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-07-24 10:48:00 +02:00
..
2009-04-01 08:59:13 -07:00
2011-07-20 20:47:46 -04:00
2011-05-26 09:20:31 -07:00
2011-03-31 11:26:23 -03:00
2011-07-20 20:47:46 -04:00
2009-09-22 07:17:35 -07:00
2011-05-26 09:20:31 -07:00
2010-03-24 16:31:21 -07:00
2011-01-13 17:32:46 -08:00
2011-05-25 08:39:18 -07:00
2010-05-21 18:31:21 -04:00
2011-06-22 19:26:27 +02:00
2011-03-10 08:52:27 +01:00
2011-05-20 12:50:29 -07:00
2011-06-27 18:00:12 -07:00
2011-03-31 11:26:23 -03:00
2011-03-10 08:52:07 +01:00
2011-07-20 20:47:46 -04:00
2011-05-25 08:39:05 -07:00