]> git.baikalelectronics.ru Git - kernel.git/commit
mm: replace hpage_nr_pages with thp_nr_pages
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 15 Aug 2020 00:30:37 +0000 (17:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Aug 2020 02:56:56 +0000 (19:56 -0700)
commitf1df5b391a40fcf14d9da57df85a1802f6ea9924
treeed90c2a84790edf7daf695d8f9fb5c92ca656ff1
parenta2418503906940f00ddab00e5f91d133431c0592
mm: replace hpage_nr_pages with thp_nr_pages

The thp prefix is more frequently used than hpage and we should be
consistent between the various functions.

[akpm@linux-foundation.org: fix mm/migrate.c]

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Link: http://lkml.kernel.org/r/20200629151959.15779-6-willy@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
20 files changed:
include/linux/huge_mm.h
include/linux/mm_inline.h
include/linux/pagemap.h
mm/compaction.c
mm/filemap.c
mm/gup.c
mm/internal.h
mm/memcontrol.c
mm/memory_hotplug.c
mm/mempolicy.c
mm/migrate.c
mm/mlock.c
mm/page_io.c
mm/page_vma_mapped.c
mm/rmap.c
mm/swap.c
mm/swap_state.c
mm/swapfile.c
mm/vmscan.c
mm/workingset.c