lkml.org 
[lkml]   [2023]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 07/10] futex: Implement FUTEX2_NUMA
On Fri, Jul 14, 2023 at 03:39:06PM +0200, Peter Zijlstra wrote:
> + /*
> + * Encode the futex size in the offset. This makes cross-size
> + * wake-wait fail -- see futex_match().
> + *
> + * NOTE that cross-size wake-wait is fundamentally broken wrt
> + * FLAGS_NUMA but could possibly work for !NUMA.
> + */
> + key->both.offset |= FUT_OFF_SIZE * (flags & FLAGS_SIZE_MASK);

this wee bit should've gone in patch 9.

\
 
 \ /
  Last update: 2023-07-16 20:51    [W:0.290 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site