From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] Re: [patch 2/2] add-SIGPROF-get-set_signals
Date: Fri, 17 Sep 2004 20:52:48 +0200 [thread overview]
Message-ID: <200409172052.48064.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <200409141926.i8EJQm4W003530@ccure.user-mode-linux.org>
On Tuesday 14 September 2004 21:26, Jeff Dike wrote:
> Actually, I had second thoughts about this patch. I left SIGPROF out of
> [un]block_signals on purpose. The reason is that you want to be able to
> profile all of UML, not just the pieces where signals are enabled. This is
> safe because the profiling code doesn't share any data with the kernel.
I agree.
> A comment to this effect may be warranted,
Translate "may" to "should". The Uml code already seems very lacking of
comments.
> but the signal itself should be
> left alone.
Ah, ok, but I didn't do that because I saw "well, let's add this, too". I took
it from change_signals.
In this case, you should remove SIGPROF from change_signals, too.
If you think you may have a possibility to make them different, please take a
look at the definitions of local_irq_save/restore and
local_irq_enable/disable, and realize that local_irq_save and
local_irq_disable should have no hidden difference, i.e. they must treat
SIGPROF in the same way.
If (I guess not) you have any doubt, I'd recommend asking this on LKML, if you
feel brave :-)!
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-09-17 18:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-12 18:26 [uml-devel] [patch 2/2] add-SIGPROF-get-set_signals blaisorblade_spam
2004-09-13 3:32 ` [uml-devel] " Jeff Dike
2004-09-13 18:12 ` BlaisorBlade
2004-09-13 22:15 ` Jeff Dike
2004-09-14 19:26 ` Jeff Dike
2004-09-17 18:52 ` BlaisorBlade [this message]
2004-09-18 0:45 ` Jeff Dike
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=200409172052.48064.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=jdike@addtoit.com \
--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