[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070531093449.GN32105@kernel.dk>
Date: Thu, 31 May 2007 11:34:51 +0200
From: Jens Axboe <jens.axboe@...cle.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Davide Libenzi <davidel@...ilserver.org>,
Ulrich Drepper <drepper@...hat.com>,
Jeff Garzik <jeff@...zik.org>,
Zach Brown <zach.brown@...cle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Arjan van de Ven <arjan@...radead.org>,
Christoph Hellwig <hch@...radead.org>,
Andrew Morton <akpm@....com.au>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Evgeniy Polyakov <johnpol@....mipt.ru>,
"David S. Miller" <davem@...emloft.net>,
Suparna Bhattacharya <suparna@...ibm.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: Syslets, Threadlets, generic AIO support, v6
On Thu, May 31 2007, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@...e.hu> wrote:
>
> > (i definitely remember having written code for that too, but i cannot
> > find that in the archives. hm.) In theory we could avoid _all_
> > fd-bitmap overhead as well and use a per-process list/pool of struct
> > file buffers plus a maximum-fd field as the 'non-linear fd allocator'
> > (at the price of only deallocating them at process exit time).
>
> btw., this also allows mostly-lockless fd allocation, which would
> probably benefit threaded apps too. (we can just recycle it from a
> per-CPU list of cached fds for that process)
See also:
http://lkml.org/lkml/2006/6/16/144
which originates from a much simpler patch I did to fix performance
regressions in this area for the SLES10 kernel.
--
Jens Axboe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists