[sorry, I read and replied to my inbox before mailing lists... please ignore the last mail on this patch, and reply to this one which is properly threaded] On Friday 19 October 2007 08:15, Christoph Lameter wrote:Ah, thanks, but can we just use my earlier patch that does the proper __bit_spin_unlock which is provided by bit_spin_lock-use-lock-bitops.patch This primitive should have a better chance at being correct, and also potentially be more optimised for each architecture (it only has to provide release consistency). I have attached the patch here just for reference, but actually I am submitting it properly as part of a patch series today, now that the base bit lock patches have been sent upstream. This looks wrong, because it would allow the store unlocking flags to pass a load within the critical section. stores aren't allowed to pass loads in x86 (only vice versa), so you might have been confused by looking at x86's spinlocks into thinking this will work. However on powerpc and sparc, I don't think it gives you the right types of barriers.
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Adrian Bunk | Re: LSM conversion to static interface |
git: | |
| Gerrit Renker | [PATCH 26/37] dccp: Integration of dynamic feature activation - part 1 (socket set... |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
| Linus Torvalds | Re: [GIT]: Networking |
