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: <086e02c8-6408-4b15-9384-42313254f041@amazon.co.uk>
Date: Wed, 26 Feb 2025 08:37:35 +0000
From: Patrick Roy <roypat@...zon.co.uk>
To: David Hildenbrand <david@...hat.com>, <rppt@...nel.org>,
	<seanjc@...gle.com>
CC: <pbonzini@...hat.com>, <corbet@....net>, <willy@...radead.org>,
	<akpm@...ux-foundation.org>, <song@...nel.org>, <jolsa@...nel.org>,
	<ast@...nel.org>, <daniel@...earbox.net>, <andrii@...nel.org>,
	<martin.lau@...ux.dev>, <eddyz87@...il.com>, <yonghong.song@...ux.dev>,
	<john.fastabend@...il.com>, <kpsingh@...nel.org>, <sdf@...ichev.me>,
	<haoluo@...gle.com>, <Liam.Howlett@...cle.com>, <lorenzo.stoakes@...cle.com>,
	<vbabka@...e.cz>, <jannh@...gle.com>, <shuah@...nel.org>,
	<kvm@...r.kernel.org>, <linux-doc@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>, <linux-fsdevel@...r.kernel.org>,
	<linux-mm@...ck.org>, <bpf@...r.kernel.org>,
	<linux-kselftest@...r.kernel.org>, <tabba@...gle.com>, <jgowans@...zon.com>,
	<graf@...zon.com>, <kalyazin@...zon.com>, <xmarcalx@...zon.com>,
	<derekmn@...zon.com>, <jthoughton@...gle.com>
Subject: Re: [PATCH v4 04/12] KVM: Add capability to discover
 KVM_GMEM_NO_DIRECT_MAP support



On Tue, 2025-02-25 at 16:55 +0000, David Hildenbrand wrote:
> On 21.02.25 17:07, Patrick Roy wrote:
>> Add a capability to let userspace discover whether guest_memfd supports
>> removing its folios from the direct map. Support depends on guest_memfd
>> itself being supported, but also on whether KVM can manipulate the
>> direct map at page granularity at all (possible most of the time, just
>> arm64 is a notable outlier where its impossible if the direct map has
>> been setup using hugepages, as arm64 cannot break these apart due to
>> break-before-make semantics).
>>
>> Signed-off-by: Patrick Roy <roypat@...zon.co.uk>
>> ---
> 
> Not sure how KVM folks handle that, but I suspect we would just want to
> squash that into the previous commit,
> 
> -- 
> Cheers,
> 
> David / dhildenb
> 

Ah, yeah, I just had a look at the commit history in this file and
indeed these have seem to usually be squashed. Will do so too, thanks!

Best, 
Patrick

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ