[PATCH 0/8] Various large optimisations
Doug Klima
cardoe at gentoo.org
Tue Nov 20 06:22:45 PST 2007
Scott James Remnant wrote:
> On Mon, 2007-11-19 at 16:16 +0000, Rob Taylor wrote:
>
>
>> 2) Only generate HotplugEvents during coldplug when they are actually
>> needed, and process them as soon as they are queued. This removes a lot
>> of the huge (7M on my machine) memory usage on coldplug
>>
>>
> I'd like a patch to not do this at all -- if we could start udev and HAL
> together, they could both share the single "udevtrigger" coldplug.
>
> Scott
Which would require D-Bus to be started as the very first thing in the
boot process since device nodes created by udev are almost universally
going to be required by everything else to come up properly. I know this
was Ubuntu/Debian's plan with upstart was to start D-Bus as early as
humanly possible but I thought that was abandoned.
The point of this patch is to reduce the amount of HotplugEvents since
HotplugEvents currently are generated on everything. So why would you
want that patch removed? HAL and udev currently don't share a single
coldplug. If you want a single coldplug, then this patch is a step in
that direction since it eliminates all the duplicates.
More information about the hal
mailing list