lkml.org 
[lkml]   [2011]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] memcg: fix off-by-one when calculating swap cgroup map length
On Fri, 18 Mar 2011 21:54:14 +0900
Namhyung Kim <namhyung@gmail.com> wrote:

> It allocated one more page than necessary if @max_pages was
> a multiple of SC_PER_PAGE.
>
> Signed-off-by: Namhyung Kim <namhyung@gmail.com>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>



\
 
 \ /
  Last update: 2011-03-22 01:07    [W:0.084 / U:55.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site