Re: [PATCH] mm/hugetlb: stop hashing address_space pointers for fault mutexes

From: David Hildenbrand (Arm)

Date: Mon Nov 30 2026 - 05:42:35 EST


On 11/30/26 11:19, Oscar Salvador (SUSE) wrote:
> On Sun, Nov 29, 2026 at 11:35:06AM +0100, David Hildenbrand (Arm) wrote:
>> On 11/26/26 12:20, David Hildenbrand (Arm) wrote:
>>>
>>> Both can be const.
>>
>> Can you fix that up and add my
>>
>> Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
>>
>> ... and add some more details about what we leak and how you reproduced that?
>>
>> ... and then resend? Maybe that makes it easier to get hugetlb maintainer's
>> attention :)
>
> Sorry, lots of hugetlb fixes lately
>
> Current version with the const fixups LGTM, I will add my ack later.
> Just wanted to ask about the suggestion of using the inode number. Does not that
> provide enough randomness?

I'd assume that it's not as distributed as "true" random numbers, but I might be
completely wrong :)

--
Cheers,

David