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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176055105546.1527431.3611256810380818215.b4-ty@google.com>
Date: Wed, 15 Oct 2025 11:02:44 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, willy@...radead.org, akpm@...ux-foundation.org, 
	david@...hat.com, pbonzini@...hat.com, shuah@...nel.org, vbabka@...e.cz, 
	Shivank Garg <shivankg@....com>
Cc: brauner@...nel.org, viro@...iv.linux.org.uk, dsterba@...e.com, 
	xiang@...nel.org, chao@...nel.org, jaegeuk@...nel.org, clm@...com, 
	josef@...icpanda.com, kent.overstreet@...ux.dev, zbestahu@...il.com, 
	jefflexu@...ux.alibaba.com, dhavale@...gle.com, lihongbo22@...wei.com, 
	lorenzo.stoakes@...cle.com, Liam.Howlett@...cle.com, rppt@...nel.org, 
	surenb@...gle.com, mhocko@...e.com, ziy@...dia.com, matthew.brost@...el.com, 
	joshua.hahnjy@...il.com, rakie.kim@...com, byungchul@...com, 
	gourry@...rry.net, ying.huang@...ux.alibaba.com, apopple@...dia.com, 
	tabba@...gle.com, ackerleytng@...gle.com, paul@...l-moore.com, 
	jmorris@...ei.org, serge@...lyn.com, pvorel@...e.cz, bfoster@...hat.com, 
	vannapurve@...gle.com, chao.gao@...el.com, bharata@....com, nikunj@....com, 
	michael.day@....com, shdhiman@....com, yan.y.zhao@...el.com, 
	Neeraj.Upadhyay@....com, thomas.lendacky@....com, michael.roth@....com, 
	aik@....com, kalyazin@...zon.com, peterx@...hat.com, jack@...e.cz, 
	hch@...radead.org, cgzones@...glemail.com, ira.weiny@...el.com, 
	rientjes@...gle.com, roypat@...zon.co.uk, chao.p.peng@...el.com, 
	amit@...radead.org, ddutile@...hat.com, dan.j.williams@...el.com, 
	ashish.kalra@....com, gshan@...hat.com, jgowans@...zon.com, 
	pankaj.gupta@....com, papaluri@....com, yuzhao@...gle.com, 
	suzuki.poulose@....com, quic_eberman@...cinc.com, 
	linux-bcachefs@...r.kernel.org, linux-btrfs@...r.kernel.org, 
	linux-erofs@...ts.ozlabs.org, linux-f2fs-devel@...ts.sourceforge.net, 
	linux-fsdevel@...r.kernel.org, linux-mm@...ck.org, 
	linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org, 
	kvm@...r.kernel.org, linux-kselftest@...r.kernel.org, 
	linux-coco@...ts.linux.dev, Jason Gunthorpe <jgg@...pe.ca>
Subject: Re: [PATCH kvm-next V11 0/7] Add NUMA mempolicy support for KVM guest-memfd

On Wed, 27 Aug 2025 17:52:41 +0000, Shivank Garg wrote:
> This series introduces NUMA-aware memory placement support for KVM guests
> with guest_memfd memory backends. It builds upon Fuad Tabba's work (V17)
> that enabled host-mapping for guest_memfd memory [1] and can be applied
> directly applied on KVM tree [2] (branch kvm-next, base commit: a6ad5413,
> Merge branch 'guest-memfd-mmap' into HEAD)
> 
> == Background ==
> KVM's guest-memfd memory backend currently lacks support for NUMA policy
> enforcement, causing guest memory allocations to be distributed across host
> nodes  according to kernel's default behavior, irrespective of any policy
> specified by the VMM. This limitation arises because conventional userspace
> NUMA control mechanisms like mbind(2) don't work since the memory isn't
> directly mapped to userspace when allocations occur.
> Fuad's work [1] provides the necessary mmap capability, and this series
> leverages it to enable mbind(2).
> 
> [...]

Applied the non-KVM change to kvm-x86 gmem.  We're still tweaking and iterating
on the KVM changes, but I fully expect them to land in 6.19.

Holler if you object to taking these through the kvm tree.

[1/7] mm/filemap: Add NUMA mempolicy support to filemap_alloc_folio()
      https://github.com/kvm-x86/linux/commit/601aa29f762f
[2/7] mm/filemap: Extend __filemap_get_folio() to support NUMA memory policies
      https://github.com/kvm-x86/linux/commit/2bb25703e5bd
[3/7] mm/mempolicy: Export memory policy symbols
      https://github.com/kvm-x86/linux/commit/e1b4cf7d6be3

--
https://github.com/kvm-x86/linux/tree/next

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ