diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-01-28 16:50:20 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 13:20:36 +0100 |
commit | 618b2c8db24522ae273d8299c6a936ea13793c4d (patch) | |
tree | b0f5f9e03ee56fb85755db24877736e97b3989af /crypto/md5.c | |
parent | bf3647c44bc76c43c4b2ebb4c37a559e899ac70e (diff) |
xen: make sysfs files behave as their names suggest
1: make "target_kb" only accept and produce a memory size in kilobytes.
2: add a second "target" file which produces output in bytes, and will accept
memparse input (scaled bytes)
This fixes the rather irritating problem that writing the same value
read back into target_kb would end up shrinking the domain by a factor
of 1024, with generally bad results.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
Cc: "dan.magenheimer@oracle.com" <dan.magenheimer@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'crypto/md5.c')
0 files changed, 0 insertions, 0 deletions