From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757989AbYAIXsD (ORCPT ); Wed, 9 Jan 2008 18:48:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756258AbYAIXrw (ORCPT ); Wed, 9 Jan 2008 18:47:52 -0500 Received: from tetsuo.zabbo.net ([207.173.201.20]:54172 "EHLO tetsuo.zabbo.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756013AbYAIXrv (ORCPT ); Wed, 9 Jan 2008 18:47:51 -0500 Message-ID: <47855D26.30307@oracle.com> Date: Wed, 09 Jan 2008 15:47:50 -0800 From: Zach Brown User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Linus Torvalds CC: Rusty Russell , linux-kernel@vger.kernel.org, Ingo Molnar , Ulrich Drepper , Arjan van de Ven , Andrew Morton , Alan Cox , Evgeniy Polyakov , "David S. Miller" , Suparna Bhattacharya , Davide Libenzi , Jens Axboe , Thomas Gleixner , Dan Williams , Jeff Moyer , Simon Holm Thogersen , suresh.b.siddha@intel.com Subject: Re: [PATCH 5/6] syslets: add generic syslets infrastructure References: <1196983219534-git-send-email-zach.brown@oracle.com> <200801091448.46241.rusty@rustcorp.com.au> <47850F99.5020001@oracle.com> <200801100904.46842.rusty@rustcorp.com.au> In-Reply-To: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > > On Thu, 10 Jan 2008, Rusty Russell wrote: >> I'd have to read his original statement, but eventfd doesn't build up state, >> so I think it qualifies. > > How about you guys battle it out by giving an example program usign the > interface? > > Here's a favourite really simple load of mine: > > - do the equivalent of "ls -lR" or "find /usr" as quickly as possible, > without playing "sort by the inode numbers" games (that don't work in > general, but are great for some filesystems) > > Do this on a directory that isn't newly created, but has had files > added and removed over time (so that the return order of "readdir()" > isn't dense and sorted in the inode tables already). The classic > example is "ls -l /usr/bin" or similar. Sure, that's straight forward enough. We've all written little test apps for variants of this load in the past, anyway. (It was one of the first things I did for fibrils, Ingo had a variant for syslets which read small file data too, Chris has a syslet mode in his 'acp' util, etc.) I was going to send out a patch series pretty soon which includes cleanups (I think) of the sys_indirect() infrastructure. I can throw together this little test app along with that. - z