On 09/04/16 16:13, Aneesh Kumar K.V wrote: > With radix there is no mmu cache. Hence we don't need to do much > in update_mmu_cache. > > Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com> > --- > arch/powerpc/mm/mem.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c > index f980da6d7569..3164ce720b3e 100644 > --- a/arch/powerpc/mm/mem.c > +++ b/arch/powerpc/mm/mem.c > @@ -499,6 +499,8 @@ void update_mmu_cache(struct vm_area_struct *vma, > unsigned long address, > * called with either mm->page_table_lock held or ptl lock held > */ > unsigned long access = 0, trap; > + if (radix_enabled()) > + return; > > /* We only want HPTEs for linux PTEs that have _PAGE_ACCESSED set */ > if (!pte_young(*ptep) || address >= TASK_SIZE) > Acked-by: Balbir Singh <bsinghar...@gmail.com> _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
- [PATCH V2 49/68] powerpc/mm: Revert changes made to nohas... Aneesh Kumar K.V
- [PATCH V2 50/68] powerpc/mm: Simplify the code dropping 4... Aneesh Kumar K.V
- [PATCH V2 51/68] powerpc/mm: Rename function to indicate ... Aneesh Kumar K.V
- [PATCH V2 52/68] powerpc/mm: make 4k and 64k use pte_t fo... Aneesh Kumar K.V
- Re: [PATCH V2 52/68] powerpc/mm: make 4k and 64k use... Balbir Singh
- Re: [PATCH V2 52/68] powerpc/mm: make 4k and 64k use... Aneesh Kumar K.V
- [PATCH V2 53/68] powerpc/mm: Add radix pgalloc details Aneesh Kumar K.V
- [PATCH V2 57/68] powerpc/mm: pte_frag abstraction Aneesh Kumar K.V
- [PATCH V2 56/68] powerpc/radix: update mmu cache Aneesh Kumar K.V
- Re: [PATCH V2 56/68] powerpc/radix: update mmu cache Balbir Singh
- [PATCH V2 54/68] powerpc/mm: Update pte filter for radix Aneesh Kumar K.V
- [PATCH V2 58/68] powerpc/mm: Fix vma_mmu_pagesize for rad... Aneesh Kumar K.V
- [PATCH V2 55/68] powerpc/mm: VMALLOC abstraction Aneesh Kumar K.V
- Re: [PATCH V2 55/68] powerpc/mm: VMALLOC abstraction Michael Neuling
- Re: [PATCH V2 55/68] powerpc/mm: VMALLOC abstrac... Aneesh Kumar K.V
- Re: [PATCH V2 55/68] powerpc/mm: VMALLOC abs... Balbir Singh
- Re: [PATCH V2 55/68] powerpc/mm: VMALLOC abstraction Balbir Singh
- Re: [PATCH V2 55/68] powerpc/mm: VMALLOC abstraction Aneesh Kumar K.V
- [PATCH V2 59/68] powerpc/mm: Add radix support for hugetl... Aneesh Kumar K.V