From mboxrd@z Thu Jan 1 00:00:00 1970 From: jlm_devel Date: Wed, 30 Jun 2004 17:37:15 +0000 Subject: Re: How to notify app of changed cpu/mem/io node configuration? Message-Id: <40E2FA4B.7070508@laposte.net> List-Id: References: <20040628173808.04718b83.pj@sgi.com> In-Reply-To: <20040628173808.04718b83.pj@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Paul Jackson wrote: >jlm_devel wrote: > > >>using POSIX extended signal to pass some value >> >> > >sigqueue(2) - thanks for pointing that out - I hadn't realized >it existed. > > > thnats why I say that D-BUS reinvent the wheel..... because we can already use signals to send small pieces of data...... more the linux kernel now support posix messages queues to send more data and if you really want to send huge piece of data you can use signal/messages queues to pass pointers to shared memory objects...... and there this is blastering fast...... If i'm correct d-bus is used to send some information about hotplug event such as usb key plug..... signal seems to be more appropriate and less overhead since they have been optimized for a long time.... we always reinvent the wheel because we don't know enough the system we're running on.... QT and other "abstracting" toolkits don't help because for abstracting you prevent user to use some mechanism that aren't portable..... ever wondered why the cp command is so blastering fast and so less cpu consuming ? you need to dig more inside the system basics..... even the glibc is abstracting and I had the prouf yesterday with the unlink system call against remove glibc one..... ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel