ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.com>
To: ksummit-discuss@lists.linuxfoundation.org
Cc: theodore.tso@gmail.com
Subject: [Ksummit-discuss] Late KS topics
Date: Mon, 26 Oct 2015 15:25:27 +0100	[thread overview]
Message-ID: <562E37D7.9080105@suse.com> (raw)

(I just realized that I should've sent it to ksummit-discuss, too.
 So here it is.)

Hi Ted,

here are the two things I'd like to bring up:

- Asynchronous probing
  Currently, the driver model has the simple match/probe mechanism by
which individual drivers can attach to device. As per design, these
device are enumerated by the 'bus', and the match/probe pair is
executed for each device. As this is a simple loop, each match/probe
pair is executed sequentially.
This creates quite a significant slowdown on large installations, where
eg. the PCI bus is scanned sequentially, and probe() is called for every
device, although in fact each device is totally independent,
so there isn't really a need for the probe function to be serialized.
I would like to discuss the implications of moving to asynchronous
probing in general, either per bus in with the driver core in general.

The topic will be presented by me an Luis Rodriguez; possible slot would
be 11 or 14.


The other topic is a rather short one, which possibly could be move to
a lightning talk:
- printk usecases
  Currently, printk is used for two largely different usecases:
  1) Really urgent, 'ship me out at any cost now' messages
  and
  2) Rather longish, 'and incidentally I always wanted to tell
  you what I did on my recent holidays' type of logging entries.
  As it so happens, this really makes it hard to do any improvements
  for printk as it inevitably messes up one or the other side.
  (This whole idea came up as we've had some instances which simply
   could not boot as the serial console took too long to print out
   all the stuff, so systemd timeout kicked in and killed the udev
   process which should have handled the boot device.)
  The talk/proposal should be used to come to a consensus about
  restricting printk() to high-priority, small volume messages,
  and implement a different call (like log_printk()) for the
  low-priority, high-volume traffic.

Cheers,

Hannes

             reply	other threads:[~2015-10-26 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 14:25 Hannes Reinecke [this message]
2015-10-26 14:49 ` David Woodhouse
2015-10-26 14:51 ` Jiri Kosina
2015-10-27 23:53   ` Sergey Senozhatsky
2015-10-26 16:14 ` Luck, Tony
2015-10-27  0:23   ` Hannes Reinecke
2015-10-27  0:12 ` Mark Brown
     [not found]   ` <20151027005950.GA26445@localhost>
2015-10-27  1:39     ` [Ksummit-discuss] Deferred probing Mark Brown

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=562E37D7.9080105@suse.com \
    --to=hare@suse.com \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=theodore.tso@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