Feb. 21, 2012
3:12 p.m.
On Tue, Feb 21, 2012 at 3:47 PM, SaNtosh kuLkarni <santosh.yesoptus@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