lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231011144557.1720481-1-usama.arif@bytedance.com>
Date:   Wed, 11 Oct 2023 15:45:56 +0100
From:   Usama Arif <usama.arif@...edance.com>
To:     linux-mm@...ck.org
Cc:     linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
        muchun.song@...ux.dev, mike.kravetz@...cle.com,
        songmuchun@...edance.com, fam.zheng@...edance.com,
        liangma@...ngbit.com, punit.agrawal@...edance.com,
        Usama Arif <usama.arif@...edance.com>
Subject: [v2 0/1] mm: hugetlb_vmemmap: use folio argument for hugetlb_vmemmap_* functions

Most function calls in hugetlb.c are made with folio arguments.
This brings hugetlb_vmemmap calls inline with them by using folio
instead of head struct page. Head struct page is still needed
within these functions.

This patch is on top of the patch
"hugetlb: batch TLB flushes when restoring vmemmap" to avoid merge conflicts.

[v1->v2]:
- (Muchun Song) add _folio suffix to (__)hugetlb_vmemmap_optimize/hugetlb_vmemmap_restore
  functions.

Usama Arif (1):
  hugetlb_vmemmap: use folio argument for hugetlb_vmemmap_* functions

 mm/hugetlb.c         | 14 ++++++-------
 mm/hugetlb_vmemmap.c | 50 +++++++++++++++++++++++---------------------
 mm/hugetlb_vmemmap.h |  8 +++----
 3 files changed, 37 insertions(+), 35 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ