LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* process exception
@ 2011-01-31 22:31 Sri Ram Vemulpali
  2011-01-31 22:36 ` Manish Katiyar
  0 siblings, 1 reply; 2+ messages in thread
From: Sri Ram Vemulpali @ 2011-01-31 22:31 UTC (permalink / raw)
  To: Kernel-newbies, linux-kernel-mail

Hi all,

  This is regarding segment fault. Is there any feature that we can
allow kernel to kill only the thread that generate seg fault rather
than killing whole process in which it is running. Why is that we did
not implement in such way. Is there any specific reason. Thanks in
advance for explanation.

-- 
Regards,
Sri.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: process exception
  2011-01-31 22:31 process exception Sri Ram Vemulpali
@ 2011-01-31 22:36 ` Manish Katiyar
  0 siblings, 0 replies; 2+ messages in thread
From: Manish Katiyar @ 2011-01-31 22:36 UTC (permalink / raw)
  To: Sri Ram Vemulpali; +Cc: Kernel-newbies, linux-kernel-mail

On Mon, Jan 31, 2011 at 2:31 PM, Sri Ram Vemulpali
<sri.ram.gmu06@gmail.com> wrote:
> Hi all,
>
>  This is regarding segment fault. Is there any feature that we can
> allow kernel to kill only the thread that generate seg fault rather
> than killing whole process in which it is running. Why is that we did
> not implement in such way. Is there any specific reason. Thanks in
> advance for explanation.

What is the guarantee that whole process isn't hosed up ? For example
let's say a global pointer became NULL and we died accessing it from 1
of the threads. I'm not sure if it would be better to have 'N'
coredumps as opposed to just 1.


-- 
Thanks -
Manish

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-31 22:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31 22:31 process exception Sri Ram Vemulpali
2011-01-31 22:36 ` Manish Katiyar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).