diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-02-09 13:47:55 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-16 18:48:29 +0100 |
commit | 6b6de68c63eda6240ec92e44b998f910156f8806 (patch) | |
tree | bbac3e4b7e1ce1c9fdfef89b3fea0a04ad85e88e /drivers/scsi/scsi.h | |
parent | efef127c30c5ded4cb10fe36275d9b11d4633de4 (diff) | |
download | linux-6b6de68c63eda6240ec92e44b998f910156f8806.tar.bz2 |
KVM: halt_polling: improve grow/shrink settings
Right now halt_poll_ns can be change during runtime. The
grow and shrink factors can only be set during module load.
Lets fix several aspects of grow shrink:
- make grow/shrink changeable by root
- make all variables unsigned int
- read the variables once to prevent races
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions