Re: Semaphore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 21, 2012 at 3:47 PM, SaNtosh kuLkarni
<santosh.yesoptus@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux