lkml.org 
[lkml]   [2011]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] jump_label: jump_label for boot options.
On Fri, Dec 02, 2011 at 10:24:10AM +0100, Peter Zijlstra wrote:
> On Fri, 2011-12-02 at 09:22 +0900, KAMEZAWA Hiroyuki wrote:
> >
> > Yes, that's an idea. But we also have another stupid shadow swap accounting
> > table. This can be disabled at boot, too.
>
> Bah I thought it was just the page frame thing, hnaz any plans to kill
> this swap array as well?

I haven't looked at the swap accounting at all yet, sorry. But where
did this discussion go all of a sudden? :-)

That array is not allocated at all when the memory controller is
disabled at boot-time.

Rather, we have those mem_cgroup_disabled() conditionals everytime we
enter the memory controller from the VM and the idea is to patch them
out during boot, since you can not re-enable the thing anyway.


\
 
 \ /
  Last update: 2011-12-02 13:49    [W:0.059 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site