Re: [PATCH 6/9] mm: Remove HUGETLB_PAGE_DTOR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 15.08.23 05:26, Matthew Wilcox (Oracle) wrote:
We can use a bit in page[1].flags to indicate that this folio belongs
to hugetlb instead of using a value in page[1].dtors.  That lets
folio_test_hugetlb() become an inline function like it should be.
We can also get rid of NULL_COMPOUND_DTOR.

Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
  .../admin-guide/kdump/vmcoreinfo.rst          | 10 +---
  include/linux/mm.h                            |  2 -
  include/linux/page-flags.h                    | 21 +++++++-
  kernel/crash_core.c                           |  2 +-
  mm/hugetlb.c                                  | 49 +++----------------
  5 files changed, 29 insertions(+), 55 deletions(-)

diff --git a/Documentation/admin-guide/kdump/vmcoreinfo.rst b/Documentation/admin-guide/kdump/vmcoreinfo.rst
index c18d94fa6470..baa1c355741d 100644
--- a/Documentation/admin-guide/kdump/vmcoreinfo.rst

Acked-by: David Hildenbrand <david@xxxxxxxxxx>


David / dhildenb

[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux