[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][2.5] convert atm_dev_lock from spinlock to semaphore
In message <>,Matthew Wilcox writes:
>you seem to be under the impression that <linux/sem.h> has something
>to do with linux semaphores. this is not the case; they're sysv semaphores.

sorry about that. i just picked what seemed like likely culprits for
header files.

>apart from this, i think it's a pretty bad idea to just replace the
>spinlocks with semaphores. atm really needs fixing properly.

yes, atm_dev_lock is wrapped around large chunks of the code. however,
it should probably never have been a spinlock--it certainly doesnt need
to be one. as a mutex its far less offensive. i am willing to take
suggestions as to what would need to be done to fix atm properly?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.049 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site