Killing a kernel thread from user space ?
- From: George Kumar <grgkumar4@xxxxxxxxx>
- Date: Sun, 1 Feb 2009 10:59:44 -0800
Hi,
Is it possible to kill a kernel thread from user space. Don't ask me
why do I need to do this. This is purely an experimental exercise, I
am not doing it because I am working on a practical problem. Thing is
that I wrote a kernel module and now it is hung in a kernel thread
somewhere doing udelay(), fortunately since I am on preemptible kernel
my machine is not frozen,
but still I saw that doing a kill -9 on this process has no effect.
How about if I insert another kernel module and kill this busywait
thread from inside the kernel space. In effect how do you execute
"kill -9" from one kernel thread to misbehaving kernel thread.
thanks.
george
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Killing a kernel thread from user space ?
- From: Robert Hancock
- Re: Killing a kernel thread from user space ?
- Prev by Date: Re: RFC: Driver for CB710/720 memory card reader (MMC part) - v3
- Next by Date: RE: [PATCH 2/5] bfa: Brocade BFA FC SCSI driver submission
- Previous by thread: Re: RFC: Driver for CB710/720 memory card reader (MMC part) - v3
- Next by thread: Re: Killing a kernel thread from user space ?
- Index(es):
Relevant Pages
|