Re: device struct bloat

From: Stefan Richter
Date: Mon Nov 05 2007 - 17:34:38 EST


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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/