lkml.org 
[lkml]   [2023]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 1/2] fscache: Use wait_on_bit() to wait for the freeing of relinquished volume
Date
Hou Tao <houtao@huaweicloud.com> wrote:

> clear_bit(FSCACHE_VOLUME_ACQUIRE_PENDING, &cursor->flags);
> + /*
> + * Paired with barrier in wait_on_bit(). Check
> + * wake_up_bit() and waitqueue_active() for details.
> + */
> + smp_mb__after_atomic();
> wake_up_bit(&cursor->flags, FSCACHE_VOLUME_ACQUIRE_PENDING);

What two values are you applying a partial ordering to?

David

\
 
 \ /
  Last update: 2023-03-26 23:36    [W:0.074 / U:19.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site