mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 03:52:37 +00:00
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 <[email protected]> Cc: Stable Kernel <[email protected]> Cc: "[email protected]" <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>