LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Manish Katiyar <mkatiyar@gmail.com>
To: Sri Ram Vemulpali <sri.ram.gmu06@gmail.com>
Cc: Kernel-newbies <kernelnewbies@nl.linux.org>,
	linux-kernel-mail <linux-kernel@vger.kernel.org>
Subject: Re: process exception
Date: Mon, 31 Jan 2011 14:36:19 -0800	[thread overview]
Message-ID: <AANLkTikL_+_STupmVyD6pLKrTETmGQ=v0MMMWW=nq-UO@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikfO_uKa16eQJZgSHL6CjTassCmv7W_VcPDON9u@mail.gmail.com>

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

      reply	other threads:[~2011-01-31 22:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 22:31 Sri Ram Vemulpali
2011-01-31 22:36 ` Manish Katiyar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTikL_+_STupmVyD6pLKrTETmGQ=v0MMMWW=nq-UO@mail.gmail.com' \
    --to=mkatiyar@gmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sri.ram.gmu06@gmail.com \
    --subject='Re: process exception' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).