From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Dake Date: Fri, 11 Apr 2003 20:29:57 +0000 Subject: Re: [ANNOUNCE] udev 0.1 release Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kevin P. Fleming wrote: > > What happens if these secondary hotplug events occur while > /sbin/hotplug has not yet finished processing the first one? Ignoring > locking/race issues for the moment, I'm concerned about memory > consumption as many layers of hotplug/udev/kpartx/etc. are running > processing these events. It gets even worse, because performance of hotswap events on disk adds is critical and spawning processes is incredibly slow compared to the performance required by some telecom applications... A much better solution could be had by select()ing on a filehandle indicating when a new hotswap event is ready to be processed. No races, no security issues, no performance issues. > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.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