linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
	benh@kernel.crashing.org, paulus@samba.org
Cc: linuxppc-dev@lists.ozlabs.org,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: Re: [2/8] powerpc/mm: add _PAGE_HASHPTE similar to 4K hash
Date: Fri,  4 Mar 2016 11:40:08 +1100 (AEDT)	[thread overview]
Message-ID: <20160304004008.A1145141B7B@ozlabs.org> (raw)
In-Reply-To: <1456817364-3329-3-git-send-email-aneesh.kumar@linux.vnet.ibm.com>

On Tue, 2016-01-03 at 07:29:18 UTC, "Aneesh Kumar K.V" wrote:
> We don't need to update linux page table entry with _PAGE_HASHPTE early
> in hash pte fault. A parallel pte update will loop via _PAGE_BUSY
> and look at _PAGE_HASHPTE for a required hpte flush only if
> _PAGE_BUSY is cleared. That ensures a pte update will wait for a
> parallel hpte insert to finish before looking at _PAGE_HASHPTE bit.
> 
> To avoid further confusion drop setting _PAGE_HASHPTE in cmpxchg in __hash_page_4K.
> 
> commit 41743a4e34f0 ("powerpc: Free a PTE bit on ppc64 with 64K pages")
> did similar change for 64K config
> 
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c367a44133bcd7f94fb48b58e9

cheers

  reply	other threads:[~2016-03-04  0:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01  7:29 [PATCH 0/8] BOOk3s 64 MMU code cleanup Aneesh Kumar K.V
2016-03-01  7:29 ` [PATCH 1/8] powerp/mm: Update code comments Aneesh Kumar K.V
2016-03-04  0:40   ` [1/8] " Michael Ellerman
2016-03-01  7:29 ` [PATCH 2/8] powerpc/mm: add _PAGE_HASHPTE similar to 4K hash Aneesh Kumar K.V
2016-03-04  0:40   ` Michael Ellerman [this message]
2016-03-01  7:29 ` [PATCH 3/8] powerpc/mm: Use flush_tlb_page in ptep_clear_flush_young Aneesh Kumar K.V
2016-03-01  7:29 ` [PATCH 4/8] powerpc/mm: Move hash related mmu-*.h headers to book3s/ Aneesh Kumar K.V
2016-03-04  0:40   ` [4/8] " Michael Ellerman
2016-03-01  7:29 ` [PATCH 5/8] powerpc/mm: Create a new headers for tlbflush for hash64 Aneesh Kumar K.V
2016-03-04  0:40   ` [5/8] " Michael Ellerman
2016-03-01  7:29 ` [PATCH 6/8] powerpc/mm: Move hash page table related functions to pgtable-hash64.c Aneesh Kumar K.V
2016-03-03  2:33   ` [PATCH V2] " Aneesh Kumar K.V
2016-03-01  7:29 ` [PATCH 7/8] powerpc/mm: THP is only available on hash64 as of now Aneesh Kumar K.V
2016-03-01  7:29 ` [PATCH 8/8] powerpc/mm: Use generic version of pmdp_clear_flush_young Aneesh Kumar K.V

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160304004008.A1145141B7B@ozlabs.org \
    --to=mpe@ellerman.id.au \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).