diff options
author | Michael Holzheu <holzheu@de.ibm.com> | 2007-10-12 10:11:42 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-10-12 10:13:08 -0400 |
commit | 6517156cd0225d666f53ecaf49b5b4784b0df8b6 (patch) | |
tree | 7575c4361c56f2c3abef8925494663460e8399ce /arch/s390 | |
parent | 210d3a90ce665509e4852977d7a3352654e5e990 (diff) |
[S390] Use IPL CLEAR for reipl under z/VM
If we use the CLEAR ipl option, reipl is faster, since then VM can release
the memory, which has been paged out.
Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/ipl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index 8b8f136d9cc7..66b51901c87d 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c | |||
@@ -735,10 +735,10 @@ void do_reipl(void) | |||
735 | case REIPL_METHOD_CCW_VM: | 735 | case REIPL_METHOD_CCW_VM: |
736 | reipl_get_ascii_loadparm(loadparm); | 736 | reipl_get_ascii_loadparm(loadparm); |
737 | if (strlen(loadparm) == 0) | 737 | if (strlen(loadparm) == 0) |
738 | sprintf(buf, "IPL %X", | 738 | sprintf(buf, "IPL %X CLEAR", |
739 | reipl_block_ccw->ipl_info.ccw.devno); | 739 | reipl_block_ccw->ipl_info.ccw.devno); |
740 | else | 740 | else |
741 | sprintf(buf, "IPL %X LOADPARM '%s'", | 741 | sprintf(buf, "IPL %X CLEAR LOADPARM '%s'", |
742 | reipl_block_ccw->ipl_info.ccw.devno, loadparm); | 742 | reipl_block_ccw->ipl_info.ccw.devno, loadparm); |
743 | __cpcmd(buf, NULL, 0, NULL); | 743 | __cpcmd(buf, NULL, 0, NULL); |
744 | break; | 744 | break; |