[lkml]   [2015]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] mm: show free pages per each migrate type
On Fri, 10 Apr 2015 04:16:15 +0000 ZhangNeil <> 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.124 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site