lkml.org 
[lkml]   [2015]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] mm: show free pages per each migrate type
On Fri, 10 Apr 2015 04:16:15 +0000 ZhangNeil <neilzhang1123@hotmail.com> wrote:

> > I think we can eliminate nr_free[][]:
>
> what about make it as global__variable?

That isn't as good - it permanently consumes memory and really requires
new locking to protect the array from concurrent callers.



\
 
 \ /
  Last update: 2015-04-10 07:01    [W:0.056 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site