All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: khvcd
Date: Thu, 16 Aug 2007 16:16:49 -0400	[thread overview]
Message-ID: <20070816201649.GA5375@redhat.com> (raw)

Hi Rusty,
 In profiling bootup time, we noticed something new appeared
on the graph at http://pjones.fedorapeople.org/bootchart-preinit.png
in the name of khvcd.

"wtf is this" was my first reaction.
Followed shortly by much headscratching after finding it's
created by drivers/char/hvc_console.c whose Kconfig yeilds..

config HVC_DRIVER
        bool
        help
          Users of pSeries machines that want to utilize the hvc console front-end
          module for their backend console driver should select this option.

Which is a little confusing for those of us not actually using a pSeries.
The above profile came from a x86 box.
A little more grepping around revealed that lguest select's HVC_DRIVER,
thus sneaking this config option into the build.

asides from the needed Kconfig clarification, is it necessary for khvcd
to run at all if the lguest module hasn't been loaded ?  Is it possible
we can somehow delay creation of the kthread ?

	Dave

-- 
http://www.codemonkey.org.uk

             reply	other threads:[~2007-08-16 20:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-16 20:16 Dave Jones [this message]
2007-08-17  1:25 ` [PATCH] Only initialize hvc_console if needed, cleanup Kconfig help Rusty Russell
2007-08-17  7:46   ` Stephen Rothwell

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=20070816201649.GA5375@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.