kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: William Tambe <tambewilliam@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: disabling timer interrupt until (system_state >= SYSTEM_RUNNING)
Date: Thu, 6 Feb 2020 19:26:15 +0100	[thread overview]
Message-ID: <20200206182615.GA4092434@kroah.com> (raw)
In-Reply-To: <CAF8i9mOKe3FKi8t8H5zF6-Kh8qPdFp6C2aNh-oNMz1kPpdeW4Q@mail.gmail.com>

On Thu, Feb 06, 2020 at 12:25:27PM -0500, William Tambe wrote:
> Since voluntary preemption is used during kernel booting, is it safe
> to disable timer interrupt until (system_state >= SYSTEM_RUNNING) ?
> 
> Wouldn't it speed up booting ?

Try it and see!

:)

Seriously, think about what needs to be done by the system during boot
time.  Hardware is initialized, threads are spawned, lots of other
things are going on.  It's not just one single process until that system
state change happens by any means.

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2020-02-06 19:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06 17:25 disabling timer interrupt until (system_state >= SYSTEM_RUNNING) William Tambe
2020-02-06 18:26 ` Greg KH [this message]
2020-02-07  0:53   ` William Tambe

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=20200206182615.GA4092434@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=tambewilliam@gmail.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;
as well as URLs for NNTP newsgroup(s).