lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 1 Nov 2017 14:44:08 -0400 From: Waiman Long <longman@...hat.com> To: Davidlohr Bueso <dave@...olabs.net> Cc: Alexander Viro <viro@...iv.linux.org.uk>, Jan Kara <jack@...e.com>, Jeff Layton <jlayton@...chiereds.net>, "J. Bruce Fields" <bfields@...ldses.org>, Tejun Heo <tj@...nel.org>, Christoph Lameter <cl@...ux-foundation.org>, linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>, Peter Zijlstra <peterz@...radead.org>, Andi Kleen <andi@...stfloor.org>, Dave Chinner <dchinner@...hat.com>, Boqun Feng <boqun.feng@...il.com> Subject: Re: [PATCH v8 1/6] lib/dlock-list: Distributed and lock-protected lists On 10/31/2017 05:37 PM, Davidlohr Bueso wrote: > On Tue, 31 Oct 2017, Waiman Long wrote: > >> +void dlock_lists_del(struct dlock_list_node *node) >> +{ >> + struct dlock_list_head *head; >> + bool retry; >> + >> + do { >> + head = READ_ONCE(node->head); > > Boqun had previously pointed this out; you need to WRITE_ONCE() > node->head too. Right, I will get that into the next version of the patch. Cheers, Longman
Powered by blists - more mailing lists