lkml.org 
[lkml]   [2006]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: thoughts on potential cleanup of semaphores?
From
Date
"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/

\
 
 \ /
  Last update: 2006-10-16 15:49    [W:0.098 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site