Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580959

Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.
Date Wed, 15 Feb 2017 01:30:01 +0100
Message-ID <taVDP-tw-7@gated-at.bofh.it> (permalink)
References <taE0i-5U6-1@gated-at.bofh.it> <taE0i-5U6-7@gated-at.bofh.it> <taEjD-61A-9@gated-at.bofh.it> <taEjD-61A-11@gated-at.bofh.it> <taJ9D-186-11@gated-at.bofh.it>
X-Mailer Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
X-Original-Cc "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>, Rik van Riel <riel@surriel.com>, Mel Gorman <mgorman@techsingularity.net>, paulus@ozlabs.org, benh@kernel.crashing.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
X-Original-Date Tue, 14 Feb 2017 16:20:08 -0800
X-Original-Message-ID <20170214162008.bd592c747fc5e167c10ce7b8@linux-foundation.org>
X-Original-References <1487050314-3892-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1487050314-3892-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <87poilmien.fsf@concordia.ellerman.id.au> <abd9d231-c380-95b0-0722-8df7be626968@linux.vnet.ibm.com> <874lzxm41g.fsf@concordia.ellerman.id.au>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1580959

Show key headers only | View raw


On Tue, 14 Feb 2017 21:59:23 +1100 Michael Ellerman <michaele@au1.ibm.com> wrote:

> "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> writes:
> 
> > On Tuesday 14 February 2017 11:19 AM, Michael Ellerman wrote:
> >> "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> writes:
> >>
> >>> Autonuma preserves the write permission across numa fault to avoid taking
> >>> a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE
> >>> write permissions across a NUMA hinting fault"). Architecture can implement
> >>> protnone in different ways and some may choose to implement that by clearing Read/
> >>> Write/Exec bit of pte. Setting the write bit on such pte can result in wrong
> >>> behaviour. Fix this up by allowing arch to override how to save the write bit
> >>> on a protnone pte.
> >> This is pretty obviously a nop on arches that don't implement the new
> >> hooks, but it'd still be good to get an ack from someone in mm land
> >> before I merge it.
> >
> >
> > To get it apply cleanly you may need
> > http://ozlabs.org/~akpm/mmots/broken-out/mm-autonuma-dont-use-set_pte_at-when-updating-protnone-ptes.patch
> > http://ozlabs.org/~akpm/mmots/broken-out/mm-autonuma-dont-use-set_pte_at-when-updating-protnone-ptes-fix.patch
> 
> Ah OK, I missed those.
> 
> In that case these two should probably go via Andrew's tree.

Done.  But
mm-autonuma-dont-use-set_pte_at-when-updating-protnone-ptes.patch is on
hold because Aneesh saw a testing issue, so these two are also on hold.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V2 0/2] Numabalancing preserve write fix "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2017-02-14 06:40 +0100
  [PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte. "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2017-02-14 06:40 +0100
    Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte. Michael Ellerman <michaele@au1.ibm.com> - 2017-02-14 07:00 +0100
      Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the  write bit should be stashed in a protnone pte. "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2017-02-14 07:00 +0100
        Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte. Michael Ellerman <michaele@au1.ibm.com> - 2017-02-14 12:10 +0100
          Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the  write bit should be stashed in a protnone pte. Andrew Morton <akpm@linux-foundation.org> - 2017-02-15 01:30 +0100
  [PATCH V2 2/2] powerpc/mm/autonuma: Switch ppc64 to its own implementeation of saved write "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2017-02-14 06:40 +0100
    Re: [PATCH V2 2/2] powerpc/mm/autonuma: Switch ppc64 to its own implementeation of saved write Michael Ellerman <mpe@ellerman.id.au> - 2017-02-14 12:10 +0100
      Re: [PATCH V2 2/2] powerpc/mm/autonuma: Switch ppc64 to its own implementeation of saved write "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2017-02-14 13:30 +0100
        Re: [PATCH V2 2/2] powerpc/mm/autonuma: Switch ppc64 to its own implementeation of saved write Michael Ellerman <mpe@ellerman.id.au> - 2017-02-15 01:50 +0100

csiph-web