Re: [PATCH v3 22/22] mm/mshare: charge fault handling allocations to the mshare owner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.08.25 03:04, Anthony Yznaga wrote:
When handling a fault in an mshare range, redirect charges for page
tables and other allocations to the mshare owner rather than the
current task.


That looks rather weird. I would have thought there would be an easy way to query the mshare owner for a given mshare mapping, and if the current MM corresponds to that owner you know that you are running in the owner context.

Of course, we could have a helper like is_mshare_owner(mapping, current) or sth like that.


--
Cheers

David / dhildenb





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux