From: Jeremy Fitzhardinge Date: Thu, 29 Jan 2009 00:50:20 +0000 (-0800) Subject: xen: make sysfs files behave as their names suggest X-Git-Tag: v2.6.29-rc4~82^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=618b2c8db24522ae273d8299c6a936ea13793c4d;p=pandora-kernel.git 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 Cc: Stable Kernel Cc: "dan.magenheimer@oracle.com" Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed