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: <20260115181438.223620-1-joshua.hahnjy@gmail.com>
Date: Thu, 15 Jan 2026 13:14:34 -0500
From: Joshua Hahn <joshua.hahnjy@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: David Hildenbrand <david@...nel.org>,
	Muchun Song <muchun.song@...ux.dev>,
	Oscar Salvador <osalvador@...e.de>,
	linux-kernel@...r.kernel.org,
	linux-mm@...ck.org,
	kernel-team@...a.com
Subject: [PATCH 0/3] mm/hugetlb: A fix and some cleanups

As the subject suggests, a fix and some cleanup patches.

The first patch fixes a hugetlb accounting error that would leave
hugetlb subpools with an elevated used_hpages count, if a reservation
attempt passes the subpool limit check but fails to acquire pages from
the global pool. It was introduced in a833a693a490: ("mm: hugetlb: fix
incorrect fallback for subpool"), which itself was a fix for a hugetlb
reservation accounting error.

The last two patches are some cleanup patches that I've been holding
onto for a while that I didn't feel was big enough to send on their own.
No functional changes intended for the last two.

Joshua Hahn (3):
  mm/hugetlb: Restore failed global reservations to subpool
  mm/hugetlb: Remove unnecessary if condition
  mm/hugetlb: Enforce brace style

 mm/hugetlb.c | 39 ++++++++++++++++++++++++++-------------
 1 file changed, 26 insertions(+), 13 deletions(-)


base-commit: d70f9612414bd3ed6bb709ccbeb4206d1a1927a5
-- 
2.47.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ