Re: kernel thread blocked in sock_recvmsg() not kill-able

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

 





>       err = kill_proc(kthread->thread->pid, SIGKILL, 1);

The problem is, AFAIK, pending signal is checked and its handler is
executed when a task is going to switch back to user space. And as you
know, kernel thread never returns to user space.

if pending signals are being checked only when switching back to user space, why it's allowed to use signals in kernel space (between kernel objects) .. i've read once that in kernel space you can't use signals , correct me please
Thanks



[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