Change in vdsm[master]: start ksm and ksmtuned when vdsm starts
nslomian at redhat.com
nslomian at redhat.com
Wed Oct 17 13:29:57 UTC 2012
Noam Slomianko has posted comments on this change.
Change subject: start ksm and ksmtuned when vdsm starts
......................................................................
Patch Set 4: (1 inline comment)
....................................................
File vdsm/ksm.py
Line 84: try:
Line 85: return (int(file('/sys/kernel/mm/ksm/pages_sharing').read()))
Line 86: except:
Line 87: return 0
Line 88:
Oh silly diff....
renamed as suggested
also renamed running() to match new style
Line 89: def pagesToScan():
Line 90: try:
Line 91: pagesToScan = int(file('/sys/kernel/mm/ksm/pages_to_scan').read())
Line 92: return pagesToScan
--
To view, visit http://gerrit.ovirt.org/8357
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia50087aae112069b2a427fca12168aff975b443e
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Noam Slomianko <nslomian at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Shu Ming <shuming at linux.vnet.ibm.com>
More information about the vdsm-patches
mailing list