From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757110AbaEFPLH (ORCPT ); Tue, 6 May 2014 11:11:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27510 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751962AbaEFPLF (ORCPT ); Tue, 6 May 2014 11:11:05 -0400 Message-ID: <5368FB80.3010100@redhat.com> Date: Tue, 06 May 2014 11:10:56 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Mel Gorman , Linux-MM , Linux-FSDevel CC: Johannes Weiner , Vlastimil Babka , Jan Kara , Michal Hocko , Hugh Dickins , Linux Kernel Subject: Re: [PATCH 03/17] mm: page_alloc: Use jump labels to avoid checking number_of_cpusets References: <1398933888-4940-1-git-send-email-mgorman@suse.de> <1398933888-4940-4-git-send-email-mgorman@suse.de> In-Reply-To: <1398933888-4940-4-git-send-email-mgorman@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/01/2014 04:44 AM, Mel Gorman wrote: > If cpusets are not in use then we still check a global variable on every > page allocation. Use jump labels to avoid the overhead. > > Signed-off-by: Mel Gorman Reviewed-by: Rik van Riel -- All rights reversed