From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753376AbZDVOhu (ORCPT ); Wed, 22 Apr 2009 10:37:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751634AbZDVOhk (ORCPT ); Wed, 22 Apr 2009 10:37:40 -0400 Received: from yx-out-2324.google.com ([74.125.44.30]:55764 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbZDVOhj (ORCPT ); Wed, 22 Apr 2009 10:37:39 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=ZpElngXPH3NWXqJnZ0kUzmNvn5QPzUEj+TZstnofhqdNy13EjfWhuYnLKVRA7Ymd3s BdmvL0zyX4GGKBdZ+XiJJL54z0zEFk9oNHk8MrHf94szJ2kx8MMvBBtU4xqdbXB3pMfU Mmaeom1Swjcdb5KgYyc9POjtk1gbty8+28wN0= MIME-Version: 1.0 In-Reply-To: <1240408407-21848-23-git-send-email-mel@csn.ul.ie> References: <1240408407-21848-1-git-send-email-mel@csn.ul.ie> <1240408407-21848-23-git-send-email-mel@csn.ul.ie> Date: Wed, 22 Apr 2009 17:37:38 +0300 X-Google-Sender-Auth: 615cf53c0e95c90a Message-ID: <84144f020904220737t3657ac01j4edf86cf61ef15e0@mail.gmail.com> Subject: Re: [PATCH 22/22] slab: Use nr_online_nodes to check for a NUMA platform From: Pekka Enberg To: Mel Gorman Cc: Linux Memory Management List , KOSAKI Motohiro , Christoph Lameter , Nick Piggin , Linux Kernel Mailing List , Lin Ming , Zhang Yanmin , Peter Zijlstra , Andrew Morton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 22, 2009 at 4:53 PM, Mel Gorman wrote: > SLAB currently avoids checking a bitmap repeatedly by checking once and > storing a flag. When the addition of nr_online_nodes as a cheaper version > of num_online_nodes(), this check can be replaced by nr_online_nodes. > > (Christoph did a patch that this is lifted almost verbatim from, hence the > first Signed-off-by. Christoph, can you confirm you're ok with that?) > > Signed-off-by: Christoph Lameter > Signed-off-by: Mel Gorman Reviewed-by: Pekka Enberg From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id AE9E56B00E6 for ; Wed, 22 Apr 2009 10:37:04 -0400 (EDT) Received: by yx-out-1718.google.com with SMTP id 36so1157551yxh.26 for ; Wed, 22 Apr 2009 07:37:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1240408407-21848-23-git-send-email-mel@csn.ul.ie> References: <1240408407-21848-1-git-send-email-mel@csn.ul.ie> <1240408407-21848-23-git-send-email-mel@csn.ul.ie> Date: Wed, 22 Apr 2009 17:37:38 +0300 Message-ID: <84144f020904220737t3657ac01j4edf86cf61ef15e0@mail.gmail.com> Subject: Re: [PATCH 22/22] slab: Use nr_online_nodes to check for a NUMA platform From: Pekka Enberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Mel Gorman Cc: Linux Memory Management List , KOSAKI Motohiro , Christoph Lameter , Nick Piggin , Linux Kernel Mailing List , Lin Ming , Zhang Yanmin , Peter Zijlstra , Andrew Morton List-ID: On Wed, Apr 22, 2009 at 4:53 PM, Mel Gorman wrote: > SLAB currently avoids checking a bitmap repeatedly by checking once and > storing a flag. When the addition of nr_online_nodes as a cheaper version > of num_online_nodes(), this check can be replaced by nr_online_nodes. > > (Christoph did a patch that this is lifted almost verbatim from, hence the > first Signed-off-by. Christoph, can you confirm you're ok with that?) > > Signed-off-by: Christoph Lameter > Signed-off-by: Mel Gorman Reviewed-by: Pekka Enberg -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org