Re: [PATCH 1/1] UBUNTU: SAUCE: khubd -- switch USBproduct/manufacturer/serial handling to RCU
From: Andy Whitcroft
Date: Mon Jun 14 2010 - 07:17:43 EST
On Mon, Jun 14, 2010 at 12:14:28PM +0100, Andy Whitcroft wrote:
> With the introduction of wireless USB hubs the product, manufacturer,
> and serial number are now mutable. This necessitates new locking in the
> consumers of these values including the sysfs read routines in order to
> prevent use-after-free acces to these values. These extra locks create
> significant lock contention leading to increased boot times (0.3s for an
> example Atom based system). Move update of these values to RCU based
> locking.
Bah, some Ubuntu-ism leaked out in the summary test, I've resent it with
those removed.
-apw
--
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/