lkml.org 
[lkml]   [2015]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] mm/vmscan: make inactive_anon_is_low_global return directly
On Mon, Sep 21, 2015 at 06:18:07PM +0200, Michal Hocko wrote:
> On Wed 16-09-15 19:59:58, Yaowei Bai wrote:
> > Delete unnecessary if to let inactive_anon_is_low_global return
> > directly.
> >
> > No functional changes.
>
> Is this really an improvement? I am not so sure. If anything the
> function has a bool return semantic...

Just FYI, I also sent a patch making inactive_anon_is_low_global return
bool and it has been added into Andrew's -mm tree.

>



\
 
 \ /
  Last update: 2015-09-22 15:41    [W:0.177 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site