From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp07.in.ibm.com (e28smtp07.in.ibm.com [122.248.162.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e28smtp07.in.ibm.com", Issuer "GeoTrust SSL CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 1B5C22C0336 for ; Tue, 22 Oct 2013 22:41:11 +1100 (EST) Received: from /spool/local by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 22 Oct 2013 17:11:08 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 2B380958509 for ; Tue, 22 Oct 2013 17:00:05 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r9MBSUfh33226962 for ; Tue, 22 Oct 2013 16:58:31 +0530 Received: from d28av04.in.ibm.com (localhost [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r9MBSWKS022977 for ; Tue, 22 Oct 2013 16:58:33 +0530 From: "Aneesh Kumar K.V" To: benh@kernel.crashing.org, paulus@samba.org, linux-mm@kvack.org Subject: [RFC PATCH 0/9] powerpc: mm: Numa faults support for ppc64 Date: Tue, 22 Oct 2013 16:58:11 +0530 Message-Id: <1382441300-1513-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, This patch series add support for numa faults on ppc64 architecture. We steal the _PAGE_COHERENCE bit and use that for indicating _PAGE_NUMA. We clear the _PAGE_PRESENT bit and also invalidate the hpte entry on setting _PAGE_NUMA. The next fault on that page will be considered a numa fault. NOTE: ______ Issue: I am finding large lock contention on page_table_lock with this series on a 95 cpu 4 node box with autonuma benchmark I will out on vacation till NOV 6 without email access. Hence i will not be able to respond to review feedbacks till then. lock_stat version 0.3 ------------------------------------------------------------------------------------------------------------------------------------------------------- class name con-bounces contentions waittime-min waittime-max waittime-total acq-bounces acquisitions holdtime-mi hold time hold total ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- &(&mm->page_table_lock)->rlock: 713531791 719610919 0.09 3038193.19 357867523236.3 729709189 750040162 0.0 236991.36 1159646899.68 ------------------------------ &(&mm->page_table_lock)->rlock 1 [] .anon_vma_prepare+0xb0/0x1e0 &(&mm->page_table_lock)->rlock 93 [] .do_numa_page+0x4c/0x190 &(&mm->page_table_lock)->rlock 301678 [] .change_protection+0x1d4/0x560 &(&mm->page_table_lock)->rlock 244524 [] .change_protection+0x3e8/0x560 ------------------------------ &(&mm->page_table_lock)->rlock 1 [] .__do_fault+0x198/0x6b0 &(&mm->page_table_lock)->rlock 704163 [] .change_protection+0x1d4/0x560 &(&mm->page_table_lock)->rlock 207227 [] .change_protection+0x3e8/0x560 &(&mm->page_table_lock)->rlock 95 [] .do_numa_page+0x4c/0x190 -aneesh