linux-um archives
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] SIGSEGV and SA_NODEFER
Date: Fri, 21 Jan 2005 11:56:30 -0500	[thread overview]
Message-ID: <200501211656.j0LGuVFH003504@ccure.user-mode-linux.org> (raw)
In-Reply-To: Your message of "Fri, 21 Jan 2005 14:09:25 +0100." <200501211409.26232.blaisorblade@yahoo.it>


blaisorblade@yahoo.it said:
> Are we sure it is a compensation? I started having the doubt that
> enabling the  signal inside the handler is not the same thing...
> because otherwise we don't  understand why the patch in 2.4 makes
> difference in TT mode.

Well, it clearly does something very close to SA_NODEFER, so it's compensation
in that sense.

> Indeed, the blocking is done in the same way, but probably the timing
> is  different - i.e. we unblock the signal only after
> unprotect_kernel_mem() in  the new code, which somehow *makes* a
> difference.

Maybe.  If unprotect_kernel_mem has anything to do with it, then it can
only affect jail mode in tt, which I'm planning on doing away with anyway
at some point.

> I'm going to choose the SA_NODEFER instead of adding the explicit
> check, at  least for 2.4. I'd do it for 2.6 too, only that I'm not too
> sure. 

My preference would be SA_NODEFER.  Do we know who was having problems that
were fixed by this?  Maybe we could see what exactly SA_NODEFER does there.

				Jeff



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2005-01-21 14:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-18 21:28 [uml-devel] SIGSEGV and SA_NODEFER Jeff Dike
2005-01-20  0:07 ` Blaisorblade
2005-01-20  3:52   ` Rob Landley
2005-01-21 12:35     ` Blaisorblade
2005-01-21 18:18       ` Rob Landley
2005-01-21 19:58         ` Blaisorblade
2005-01-22 16:34           ` Rob Landley
2005-01-24 19:45             ` Blaisorblade
2005-01-25  1:38               ` Rob Landley
     [not found]               ` <20050125084506.GA562@bytesex>
2005-01-25 10:16                 ` Blaisorblade
2005-01-25 10:16                   ` Rob Landley
2005-01-25 11:40                     ` Blaisorblade
2005-01-25 17:30                       ` Rob Landley
2005-01-25 19:34                         ` Blaisorblade
2005-01-25 19:30                           ` Rob Landley
2005-01-25 20:50                             ` Blaisorblade
2005-01-25 22:43                               ` Rob Landley
2005-01-21 13:09   ` Blaisorblade
2005-01-21 16:56     ` Jeff Dike [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=200501211656.j0LGuVFH003504@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=blaisorblade@yahoo.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox