Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752037AbaJBI2z (ORCPT ); Thu, 2 Oct 2014 04:28:55 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:49579 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180AbaJBI2x (ORCPT ); Thu, 2 Oct 2014 04:28:53 -0400 Date: Thu, 2 Oct 2014 10:28:46 +0200 From: Peter Zijlstra To: Rik van Riel Cc: Linus Torvalds , Hugh Dickins , Dave Jones , Al Viro , Linux Kernel , Ingo Molnar , Michel Lespinasse , "Kirill A. Shutemov" , Mel Gorman , Sasha Levin Subject: Re: pipe/page fault oddness. Message-ID: <20141002082846.GA3259@worktop.programming.kicks-ass.net> References: <20140930162201.GC15903@redhat.com> <20140930164047.GA18354@redhat.com> <20140930182059.GA24431@redhat.com> <542C39E0.8030609@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <542C39E0.8030609@redhat.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 01, 2014 at 01:29:04PM -0400, Rik van Riel wrote: > On 10/01/2014 12:18 PM, Linus Torvalds wrote: > > > Seriously, why can't we just do this, and throw away all the crap that > > is "numa special case". This would make all the random games in > > change_pte_range() just go away entirely, because the whole NUMA thing > > really wouldn't be a special case for the pte AT ALL any more. All it > > would be is that a pte could be marked PROT_NONE even if the > > vma->vm_flags aren't. > > That's what I suggested quite a while back, but IIRC either > Peter or Mel brought up a reason why this was not possible. Hey, I'm the one that did the numa faulting with PROTNONE to begin with. Andrea and Mel (and possibly you) all didn't like that and did the per arch pagetable nonensen :-) I've never understood why. https://lkml.org/lkml/2012/9/27/76 -- 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/