]> git.baikalelectronics.ru Git - kernel.git/commit
Memory Resource Controller use strstrip while parsing arguments
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Tue, 4 Mar 2008 22:28:24 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:09 +0000 (16:35 -0800)
commit15212de24845df85f2d7472ba32195b68422c653
treec3d4217b33f6843171e487b993040edbfbdf3b22
parent28a9641f54b05f9317feae5c5a93531c2d1c6d53
Memory Resource Controller use strstrip while parsing arguments

The memory controller has a requirement that while writing values, we need
to use echo -n. This patch fixes the problem and makes the UI more consistent.

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/controllers/memory.txt
kernel/res_counter.c