Re: [PATCH] xen: mapcache: Fix finding matching entry

2025-04-23 Thread Edgar E. Iglesias
On Fri, Apr 18, 2025 at 04:39:04PM -0700, Stefano Stabellini wrote: > On Thu, 10 Apr 2025, Aleksandr Partanen wrote: > > If we have request without lock and hit unlocked or invalid > > entry during the search, we remap it immediately, > > even if we have matching entry in next entries in bucket. >

Re: [PATCH] xen: mapcache: Fix finding matching entry

2025-04-18 Thread Stefano Stabellini
On Thu, 10 Apr 2025, Aleksandr Partanen wrote: > If we have request without lock and hit unlocked or invalid > entry during the search, we remap it immediately, > even if we have matching entry in next entries in bucket. > This leads to duplication of mappings of the same size, > and to possibility

[PATCH] xen: mapcache: Fix finding matching entry

2025-04-10 Thread Aleksandr Partanen
If we have request without lock and hit unlocked or invalid entry during the search, we remap it immediately, even if we have matching entry in next entries in bucket. This leads to duplication of mappings of the same size, and to possibility of selecting the wrong element during invalidation and u