mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Greg KH <greg@kroah.com>,
	Stephen Hemminger <shemminger@linux-foundation.org>,
	linux-kernel@vger.kernel.org, apw <apw@shadowen.org>,
	Ingo Molnar <mingo@elte.hu>
Subject: Re: device struct bloat
Date: Mon, 05 Nov 2007 23:33:11 +0100	[thread overview]
Message-ID: <472F9A27.7070304@s5r6.in-berlin.de> (raw)
In-Reply-To: <1194260234.27652.425.camel@twins>

Peter Zijlstra wrote:
[sem-to-mutex in struct device and struct class]
>  drivers/base/bus.c                |   20 ++++++++++----------
>  drivers/base/class.c              |   22 +++++++++++-----------
>  drivers/base/core.c               |   20 +++++++++-----------
>  drivers/base/dd.c                 |   38 +++++++++++++++++++-------------------
>  drivers/base/power/main.c         |    8 ++++----
>  drivers/pci/bus.c                 |    4 ++--
>  drivers/pnp/interface.c           |   10 +++++-----
>  drivers/pnp/manager.c             |   18 +++++++++---------
>  drivers/power/power_supply_core.c |    8 ++++----
>  drivers/rtc/interface.c           |    4 ++--
>  drivers/scsi/hosts.c              |    4 ++--
>  drivers/spi/spi.c                 |   10 +++++-----
>  drivers/usb/core/hub.c            |    4 ++--
>  include/linux/device.h            |   18 +++++++++++-------
>  include/linux/usb.h               |    6 +++---
>  15 files changed, 98 insertions(+), 96 deletions(-)

At least two files are missing:
drivers/firewire/fw-device.c accesses device.sem.
drivers/ieee1394/nodemgr.c accesses class.sem and device.sem.
-- 
Stefan Richter
-=====-=-=== =-== ---=-
http://arcgraph.de/sr/

  reply	other threads:[~2007-11-05 22:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-03 19:48 Stephen Hemminger
2007-11-03 23:14 ` Greg KH
2007-11-04 20:29 ` Peter Zijlstra
2007-11-05  3:58   ` Greg KH
2007-11-05 10:46     ` Peter Zijlstra
2007-11-05 10:57       ` Peter Zijlstra
2007-11-05 22:33         ` Stefan Richter [this message]
2007-11-05 22:49         ` Greg KH
2007-11-06  1:38           ` [linux-usb-devel] " David Brownell
2007-11-06  9:43             ` Peter Zijlstra
2007-11-06  9:48           ` Peter Zijlstra
2007-11-06 15:36           ` Alan Stern
2007-11-06 15:58             ` Peter Zijlstra
2007-11-06 16:32               ` Alan Stern
2007-11-06 17:19                 ` Peter Zijlstra
2007-11-06 18:05                   ` Alan Stern
2007-11-06 18:57                     ` Peter Zijlstra
2007-11-07 16:42                       ` Alan Stern

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=472F9A27.7070304@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=apw@shadowen.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    --cc=shemminger@linux-foundation.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®