From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E64642C00A3 for ; Mon, 9 Dec 2013 11:32:08 +1100 (EST) Message-ID: <1386549112.5159.4.camel@pasglop> Subject: Re: [PATCH 1/3] powerpc: mm: make _PAGE_NUMA take effect From: Benjamin Herrenschmidt To: "Aneesh Kumar K.V" Date: Mon, 09 Dec 2013 11:31:52 +1100 In-Reply-To: <87a9gfva9n.fsf@linux.vnet.ibm.com> References: <1386140348-7854-1-git-send-email-pingfank@linux.vnet.ibm.com> <1386140348-7854-2-git-send-email-pingfank@linux.vnet.ibm.com> <87a9gfva9n.fsf@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Paul Mackerras , linuxppc-dev@lists.ozlabs.org, Liu Ping Fan List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2013-12-05 at 16:23 +0530, Aneesh Kumar K.V wrote: > Liu Ping Fan writes: > > > To enable the do_numa_page(), we should not fix _PAGE_NUMA in > > hash_page(), so bail out for the case of pte_numa(). For some reason I don't have 2/3 and 3/3 in my mbox (though I do have them on patchwork) so I'll reply to this one. Overall, your statement that this is a faster path needs to be backed up with numbers. The code is complicated enough as it-is, such additional mess in the low level hashing code requires a good justification, and also a demonstration that it doesn't add overhead to the normal hash path. Cheers, Ben.