Re: [PATCH 1/3] mm/vmscan: make inactive_anon_is_low_global return directly

From: Yaowei Bai
Date: Tue Sep 22 2015 - 09:27:25 EST


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.

>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/