mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Louis <glouis@dynamicro.on.ca>
To: LKML <linux-kernel@vger.kernel.org>
Subject: mini [PATCH] 2.4.19-pre2-ac1 one sched hunk missing
Date: Sat, 2 Mar 2002 07:47:51 -0500	[thread overview]
Message-ID: <20020302124750.GA7351@athame.dynamicro.on.ca> (raw)

--- linux-2.4.19pre2ac1/init/do_mounts.c.orig	Sat Mar  2 07:39:00 2002
+++ linux-2.4.19pre2ac1/init/do_mounts.c	Sat Mar  2 07:39:00 2002
@@ -527,8 +527,7 @@
 		pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
 		if (pid > 0) {
 			while (pid != wait(&i)) {
-				current->policy |= SCHED_YIELD;
-				schedule();
+				yield();
 			}
 		}
 		if (MAJOR(real_root_dev) != RAMDISK_MAJOR


-- 
| G r e g  L o u i s          | gpg public key:      |
|   http://www.bgl.nu/~glouis |   finger greg@bgl.nu |

                 reply	other threads:[~2002-03-02 12:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020302124750.GA7351@athame.dynamicro.on.ca \
    --to=glouis@dynamicro.on.ca \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®