On 4/22/05, Greg KH <greg@xxxxxxxxx> wrote: > > down_interruptible(&sem) ; > > Why interruptible? I thought down_interruptible was the preferred way of "downing" a semaphore (for example because it allows the user to kill such process). Moreover, the Linux Kernel Development book sort of implies the same... or am I wrong? Of course, you need to check the return value. HTH Martin -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/