Messages in this thread | | | From | kuznet@ms2 ... | Subject | Re: [PATCH][RFC] sigurg/sigio cleanup for 2.5.31 | Date | Fri, 16 Aug 2002 02:36:44 +0400 (MSD) |
| |
Hello!
> Comments welcome.
I do not know what forced you to use BKL.
But I daresay this is deadlock:
+ lock_kernel(); + error = f_setown(filp, current->pid); + unlock_kernel(); if (error) { write_unlock(&dn_lock); return error;
Use of BKL when another spin lock is grabbed... It will deadlock each time when some dcahe op is made under BKL.
Alexey - 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/
| |