lkml.org 
[lkml]   [2008]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] memcg: avoid account not-on-LRU pages
KAMEZAWA Hiroyuki wrote:
> + if (charged)
> + mem_cgroup_uncharge_page(page);
> + if (anon) {
> page_cache_release(page);
> - else
> + } else
> anon = 1; /* no anon but release faulted_page */
> }

Coding style braces for a single-line if-else, please recheck

--
Balbir


\
 
 \ /
  Last update: 2008-09-30 10:17    [W:0.054 / U:2.332 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site