1. 21 Aug, 2023 38 commits
  2. 18 Aug, 2023 2 commits
    • Aneesh Kumar K.V's avatar
      powerpc/book3s64/radix: add debug message to give more details of vmemmap allocation · 6be36015
      Aneesh Kumar K.V authored
      Add some extra vmemmap pr_debug message that will indicate the type of
      vmemmap allocations.
      
      For ex: with DAX vmemmap optimization we can find the below details:
      [  187.166580] radix-mmu: PAGE_SIZE vmemmap mapping
      [  187.166587] radix-mmu: PAGE_SIZE vmemmap mapping
      [  187.166591] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166594] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166598] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166601] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166604] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166608] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166611] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166614] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166617] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166620] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166623] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166626] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166629] radix-mmu: Tail page reuse vmemmap mapping
      [  187.166632] radix-mmu: Tail page reuse vmemmap mapping
      
      And without vmemmap optimization
      [  293.549931] radix-mmu: PMD_SIZE vmemmap mapping
      [  293.549984] radix-mmu: PMD_SIZE vmemmap mapping
      [  293.550032] radix-mmu: PMD_SIZE vmemmap mapping
      [  293.550076] radix-mmu: PMD_SIZE vmemmap mapping
      [  293.550117] radix-mmu: PMD_SIZE vmemmap mapping
      
      Link: https://lkml.kernel.org/r/20230724190759.483013-14-aneesh.kumar@linux.ibm.comSigned-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Joao Martins <joao.m.martins@oracle.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Mike Kravetz <mike.kravetz@oracle.com>
      Cc: Muchun Song <muchun.song@linux.dev>
      Cc: Nicholas Piggin <npiggin@gmail.com>
      Cc: Oscar Salvador <osalvador@suse.de>
      Cc: Will Deacon <will@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      6be36015
    • Aneesh Kumar K.V's avatar
      powerpc/book3s64/radix: remove mmu_vmemmap_psize · 601f006f
      Aneesh Kumar K.V authored
      This is not used by radix anymore.
      
      [aneesh.kumar@linux.ibm.com: fix kernel build error]
        Link: https://lkml.kernel.org/r/874jlowd0c.fsf@linux.ibm.com
      Link: https://lkml.kernel.org/r/20230724190759.483013-13-aneesh.kumar@linux.ibm.comSigned-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Joao Martins <joao.m.martins@oracle.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Mike Kravetz <mike.kravetz@oracle.com>
      Cc: Muchun Song <muchun.song@linux.dev>
      Cc: Nicholas Piggin <npiggin@gmail.com>
      Cc: Oscar Salvador <osalvador@suse.de>
      Cc: Will Deacon <will@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      601f006f