LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: jdthood@mail.com (Thomas Hood)
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux should not set the "PnP OS" boot flag
Date: Sun, 7 Oct 2001 11:02:53 +0100 (BST)	[thread overview]
Message-ID: <E15qAlp-0005Mw-00@the-village.bc.nu> (raw)
In-Reply-To: <1002423279.978.28.camel@thanatos> from "Thomas Hood" at Oct 06, 2001 10:54:37 PM

> This change has to be permanent.  Linux should never automatically
> set the boot flag, no matter how PnP-competent we make it.
> The reason is that setting the flag affects what the BIOS will
> do on the _subsequent_ boot.  But Linux can't possibly know 
> which operating system will be booted _next time_.  This is
> something that has to be left up to the user to control.

When it cuts your reboot time right down then its a very useful thing to
set. Also remember that this is entirely configurable. In fact the last
stage of a pnp aware bootup requires that user space sets the "booted ok"
flag.

> a "quick boot" flag, but the time savings involved must be on the
> order of milliseconds.  All that we seem to achieve by booting

On some boxes they are much higher

> If I'm right, then bootflag.c should be modified (see my patch)
> to remove the bit that sets the flag.  It would be nice,
> however, if the flag could be controlled via a /proc entry.

No need. It's all already handled

Alan

  reply	other threads:[~2001-10-07  9:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-07  2:54 Thomas Hood
2001-10-07 10:02 ` Alan Cox [this message]
2001-10-07 13:50   ` Thomas Hood
2001-10-07 14:07     ` Dave Jones
2001-10-07 14:18     ` Alan Cox
2001-10-07 17:10       ` Thomas Hood
2001-10-07 21:59         ` Alan Cox
2001-10-07 17:54       ` Thomas Hood
  -- strict thread matches above, loose matches on Subject: below --
2001-10-08 12:40 Thomas Hood
2001-10-08 13:25 ` Stelian Pop
2001-10-08 22:12   ` J.D. Hood
2001-10-06  3:35 Thomas Hood
2001-10-06 19:24 ` Eric W. Biederman
2001-10-06 21:11   ` Alan Cox
2001-10-07  1:08     ` Eric W. Biederman

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=E15qAlp-0005Mw-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=jdthood@mail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Linux should not set the "PnP OS" boot flag' \
    /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

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).