Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753096AbbFKQr5 (ORCPT ); Thu, 11 Jun 2015 12:47:57 -0400 Received: from terminus.zytor.com ([198.137.202.10]:53352 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958AbbFKQrz (ORCPT ); Thu, 11 Jun 2015 12:47:55 -0400 Message-ID: <5579BB76.1020508@zytor.com> Date: Thu, 11 Jun 2015 09:46:46 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Ingo Molnar , linux-kernel@vger.kernel.org CC: linux-mml@vger.kernel.org, Andy Lutomirski , Andrew Morton , Denys Vlasenko , Brian Gerst , Peter Zijlstra , Borislav Petkov , Linus Torvalds , Oleg Nesterov , Thomas Gleixner , Waiman Long Subject: Re: [RFC PATCH 00/12] x86/mm: Implement lockless pgd_alloc()/pgd_free() References: <1434031637-9091-1-git-send-email-mingo@kernel.org> In-Reply-To: <1434031637-9091-1-git-send-email-mingo@kernel.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 20 On 06/11/2015 07:07 AM, Ingo Molnar wrote: > Waiman Long reported 'pgd_lock' contention on high CPU count systems and proposed > moving pgd_lock on a separate cacheline to eliminate false sharing and to reduce > some of the lock bouncing overhead. > > I think we can do much better: this series eliminates the pgd_list and makes > pgd_alloc()/pgd_free() lockless. This ties into a slightly different issue, which is how to deal *properly* with "special" PGDs like the 1:1 trampoline and the UEFI page tables. These, too, should be able to incorporate, possibly more than once, page tables further down. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/