diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2010-10-25 10:10:14 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-10-25 10:10:15 -0400 |
commit | e2b8d7af0e3a9234de06606f9151f28cf847a8d6 (patch) | |
tree | 64bc03271383a43c2097b84b6f0e25c34ed13553 /arch/s390/kernel/setup.c | |
parent | 92f842eac7ee321c8a0749aba2513541b4ac226f (diff) |
[S390] add support for nonquiescing sske
Improve performance of the sske operation by using the nonquiescing
variant if the affected page has no mappings established. On machines
with no support for the new sske variant the mask bit will be ignored.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r-- | arch/s390/kernel/setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index c8e8e1354e1d..9071e984dcf1 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -627,7 +627,8 @@ setup_memory(void) | |||
627 | add_active_range(0, start_chunk, end_chunk); | 627 | add_active_range(0, start_chunk, end_chunk); |
628 | pfn = max(start_chunk, start_pfn); | 628 | pfn = max(start_chunk, start_pfn); |
629 | for (; pfn < end_chunk; pfn++) | 629 | for (; pfn < end_chunk; pfn++) |
630 | page_set_storage_key(PFN_PHYS(pfn), PAGE_DEFAULT_KEY); | 630 | page_set_storage_key(PFN_PHYS(pfn), |
631 | PAGE_DEFAULT_KEY, 0); | ||
631 | } | 632 | } |
632 | 633 | ||
633 | psw_set_key(PAGE_DEFAULT_KEY); | 634 | psw_set_key(PAGE_DEFAULT_KEY); |