Re: mutex_unlock() in interrupt context

2007-07-17 Thread Andrew Morton
On Fri, 13 Jul 2007 19:14:56 -0500 Jerry Cooperstein <[EMAIL PROTECTED]> wrote: > kernel/mutex.c says about mutex_unlock(): > > * This function must not be used in interrupt context. > > However I have done some simple test cases that show > it works without complaint. Now I understand that o

mutex_unlock() in interrupt context

2007-07-13 Thread Jerry Cooperstein
kernel/mutex.c says about mutex_unlock(): * This function must not be used in interrupt context. However I have done some simple test cases that show it works without complaint. Now I understand that one shouldn't do this for good reasons. So is this a good coding practice rule, but something