From: Rik van Riel Subject: Re: [PATCH 12/17] mm: page_alloc: Convert hot/cold parameter and immediate callers to bool Date: Tue, 06 May 2014 14:49:59 -0400 Message-ID: <53692ED7.9080700@redhat.com> References: <1398933888-4940-1-git-send-email-mgorman@suse.de> <1398933888-4940-13-git-send-email-mgorman@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Johannes Weiner , Vlastimil Babka , Jan Kara , Michal Hocko , Hugh Dickins , Linux Kernel To: Mel Gorman , Linux-MM , Linux-FSDevel Return-path: In-Reply-To: <1398933888-4940-13-git-send-email-mgorman@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 05/01/2014 04:44 AM, Mel Gorman wrote: > cold is a bool, make it one. Make the likely case the "if" part of the > block instead of the else as according to the optimisation manual this > is preferred. > > Signed-off-by: Mel Gorman Acked-by: Rik van Riel -- All rights reversed