lkml.org 
[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 6/9] dlm: clear recovery flags
On Thu, Jun 02, 2005 at 10:19:20AM +0200, Arjan van de Ven wrote:
> On Thu, 2005-06-02 at 16:03 +0800, David Teigland wrote:
> > + clear_bit(LSFL_LOCKS_VALID, &ls->ls_flags);
> > + clear_bit(LSFL_ALL_LOCKS_VALID, &ls->ls_flags);
> > clear_bit(LSFL_DIR_VALID, &ls->ls_flags);
> > clear_bit(LSFL_ALL_DIR_VALID, &ls->ls_flags);
> > clear_bit(LSFL_NODES_VALID, &ls->ls_flags);
>
> btw do these need to be atomic? right now these are atomic ops and thus
> very expensive... you might want to switch to nonatomic variants if
> that's not needed.

No they don't, I didn't know about the __ non-atomics. I'll go through
and switch, thanks.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-02 11:31    [W:0.032 / U:3.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site