From: "Kay Sievers" Date: Thu, 23 Oct 2008 14:36:46 +0000 Subject: Re: replace in-memory rules array with match/action token list Message-Id: List-Id: References: <4900419F.7010405@tuffmail.co.uk> In-Reply-To: <4900419F.7010405@tuffmail.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Oct 23, 2008 at 16:16, Alan Jenkins wrote: > Kay Sievers wrote: >> On Thu, Oct 23, 2008 at 13:34, Alan Jenkins wrote: >>> Alan Jenkins wrote: >>> >>>>> The in-memory rule array of a common desktop distro install took: >>>>> 1151088 bytes >>>>> with the token list: >>>>> 109232 bytes tokens (6827 * 16 bytes), 71302 bytes buffer >>>>> >>>> Sounds great from a performance point of view. > It's still takes over five times > as long, but I can't see anything unexpected happening. Are you sure, you don't log/print debug messages somewhere? We got a few more dbg() messages in the code. Kay