public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: David Howells <dhowells@redhat.com>
Cc: torvalds@transmeta.com, hch@caldera.com, arjanv@redhat.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] preempt abstraction
Date: Tue, 08 Jan 2002 13:13:08 -0500	[thread overview]
Message-ID: <3C3B36B4.8F7426BF@mandrakesoft.com> (raw)
In-Reply-To: <10940.1010511619@warthog.cambridge.redhat.com>

David Howells wrote:
>         ftp://infradead.org/pub/people/dwh/preempt-252p10.diff.bz2

> It also replaces instances of:
> 
>         if (current->need_resched())
>                 schedule();
> 
> With:
> 
>         preempt();


Regardless of the benefit of abstracting access to
current->need_resched, I've always thought something like this was
needed for code cleanliness as well.  Since yield is now in 2.5.2-preXX,
why not add your patch too.  Nice...

	Jeff



-- 
Jeff Garzik      | Alternate titles for LOTR:
Building 1024    | Fast Times at Uruk-Hai
MandrakeSoft     | The Took, the Elf, His Daughter and Her Lover
                 | Samwise Gamgee: International Hobbit of Mystery

  reply	other threads:[~2002-01-08 18:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-08 17:40 [PATCH] preempt abstraction David Howells
2002-01-08 18:13 ` Jeff Garzik [this message]
2002-01-08 18:57 ` Robert Love
2002-01-08 18:59   ` Christoph Hellwig
2002-01-08 20:52     ` Andrew Morton
2002-01-08 21:25       ` Roger Larsson
2002-01-08 22:12         ` Daniel Phillips
2002-01-08 22:35           ` David Howells
2002-01-08 22:46             ` David Howells
2002-01-08 23:05               ` Robert Love
2002-01-08 21:30       ` Robert Love

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=3C3B36B4.8F7426BF@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=arjanv@redhat.com \
    --cc=dhowells@redhat.com \
    --cc=hch@caldera.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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