linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: s0be <s0be@mail.drunkencodepoets.com>
To: Muli Ben-Yehuda <mulix@mulix.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] trivial change in kernel/sched.c in 2.6.0-test9+
Date: Wed, 26 Nov 2003 01:07:01 -0500	[thread overview]
Message-ID: <20031126010701.25600adb.s0be@mail.drunkencodepoets.com> (raw)
In-Reply-To: <20031126055556.GC3734@actcom.co.il>

> > this ends up saving a few math operations any time a child
> > process exits. ( calling sched_exit(task_t * p) )
> 
> Yes, but does it have any noticeable effect on performance whatsoever?
> premature optimization, root of all evil, etc. 

I'm not on a system that I can take down long enough/crash testing 
right now that I could check this.  And, to be honest, I can't think
of anything other than a fork bomb that would do a good job of testing 
this.  I just remembered helping con with O(3)int schedular hacks and 
he seemed concerned with how many math operations take place in sched.c
due to it being in the core.  

If you can suggest a way to test this, I will test it on my system 
tomorrow.

Pat Erley

  reply	other threads:[~2003-11-26  6:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-26  5:27 [patch] trivial change in kernel/sched.c in 2.6.0-test9+ Pat Erley
2003-11-26  5:55 ` Muli Ben-Yehuda
2003-11-26  6:07   ` s0be [this message]
2003-11-26 11:02     ` Muli Ben-Yehuda
2003-11-27 16:46       ` Pat Erley

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=20031126010701.25600adb.s0be@mail.drunkencodepoets.com \
    --to=s0be@mail.drunkencodepoets.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mulix@mulix.org \
    /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;
as well as URLs for NNTP newsgroup(s).