[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110620170305.GW11521@ZenIV.linux.org.uk>
Date: Mon, 20 Jun 2011 18:03:05 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-arch@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC] get_write_access()/deny_write_access() without
inode->i_lock
On Mon, Jun 20, 2011 at 05:42:11PM +0100, Al Viro wrote:
> BTW, atomic_add_unless/atomic_inc_not_zero is done as read/cmpxchg on
> everything I've checked, including alpha and sparc. I suspect that
> it's seriously suboptimal there...
Actually, on sparc it's probably fine. alpha, OTOH, probably ought to switch
to something similar to what ppc is doing...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists