[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4874CA2A.3050600@linux-foundation.org>
Date: Wed, 09 Jul 2008 09:24:42 -0500
From: Christoph Lameter <cl@...ux-foundation.org>
To: Bruno Santos <bsantos@...it.pt>
CC: Arjan van de Ven <arjan@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: semaphore: lockless fastpath using atomic_{inc,dec}_return
And is this safe? It seems that we can always be rescheduled after the atomic operation and
interrupts can occur too. You need to tell us why this is safe in all cases.
--
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