On Tue, Feb 21, 2012 at 3:47 PM, SaNtosh kuLkarni
<santosh.yesop...@gmail.com> wrote:
> A certain kernel process has acquired a semaphore lock and meanwhile during 
> this period
> the process gets killed abruptly (and it has not released the sem 
> lock..//.sem down).....
> and the other processes cannot acquire the lock, what can be done in this 
> case.

The only check I see is debug_check_no_locks_held() in kernel/exit.c
file, do_exit().
But it seems to be relevant only for 'CONFIG_LOCKDEP'...
Does anyone know the correct answer?

Thanks,
--- KostaZ

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to