lkml.org 
[lkml]   [2018]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: Speed up mremap on large regions
On Wed, Oct 10, 2018 at 05:46:18PM -0700, Joel Fernandes wrote:
> diff --git a/arch/powerpc/include/asm/book3s/64/pgalloc.h b/arch/powerpc/include/asm/book3s/64/pgalloc.h
> index 391ed2c3b697..8a33f2044923 100644
> --- a/arch/powerpc/include/asm/book3s/64/pgalloc.h
> +++ b/arch/powerpc/include/asm/book3s/64/pgalloc.h
> @@ -192,14 +192,12 @@ static inline pgtable_t pmd_pgtable(pmd_t pmd)
> return (pgtable_t)pmd_page_vaddr(pmd);
> }
>
> -static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm,
> - unsigned long address)
> +static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm)
> {
> return (pte_t *)pte_fragment_alloc(mm, address, 1);
> }

This is obviously broken.

--
Kirill A. Shutemov

\
 
 \ /
  Last update: 2018-10-11 07:15    [W:0.131 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site