Messages in this thread | | | Subject | Re: thoughts on potential cleanup of semaphores? | From | Andi Kleen <> | Date | 16 Oct 2006 15:46:13 +0200 |
| |
"Robert P. J. Day" <rpjday@mindspring.com> writes:
> after submitting one patch related to semaphores and before i submit > any others, any thoughts whether any of the following clean-ups are > valid and/or worthwhile? (some are admittedly simply aesthetic but > better aesthetics is never a bad thing.)
Semaphores and rwsems need a lot of cleanup. Some time ago we put spinlocks which are a lot more time critical than semaphores out of line. So the same could be done for semaphores too. This had the advantages that most of the assembler voodoo wouldn't be needed anymore and they could be simple straight C implementations shared by all architectures.
-Andi - 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/
| |