[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2f11576a0910030505w5a1289ebu78cdc3587caddc82@mail.gmail.com>
Date: Sat, 3 Oct 2009 21:05:44 +0900
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Paul Menage <menage@...gle.com>
Cc: LKML <linux-kernel@...r.kernel.org>, linux-mm <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Li Zefan <lizf@...fujitsu.com>
Subject: Re: [PATCH 3/3] cgroup: fix strstrip() abuse
>> cgroup_write_X64() and cgroup_write_string() ignore the return
>> value of strstrip().
>> it makes small inconsistent behavior.
>>
>> example:
>> =========================
>> # cd /mnt/cgroup/hoge
>> # cat memory.swappiness
>> 60
>> # echo "59 " > memory.swappiness
>> # cat memory.swappiness
>> 59
>> # echo " 58" > memory.swappiness
>> bash: echo: write error: Invalid argument
>>
>>
>> This patch fixes it.
>>
>> Cc: Li Zefan <lizf@...fujitsu.com>
>> Cc: Paul Menage <menage@...gle.com>
>> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
>
> Acked-by: Paul Menage <menage@...gle.com>
>
> Thanks - although I think I'd s/abuse/misuse/ in the description.
I don't know what's different between them. My dictionary is slightly quiet ;)
Is this X-rated word? if so, I'll resend it soon.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists