[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49B8841C.20701@cosmosbay.com>
Date: Thu, 12 Mar 2009 04:40:12 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: Benjamin LaHaise <bcrl@...ck.org>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Jeff Moyer <jmoyer@...hat.com>, Avi Kivity <avi@...hat.com>,
linux-aio <linux-aio@...ck.org>, zach.brown@...cle.com,
linux-kernel@...r.kernel.org,
Davide Libenzi <davidel@...ilserver.org>
Subject: Re: [patch] aio: remove aio-max-nr and instead use the memlock rlimit
to limit the number of pages pinned for the aio completion ring
Benjamin LaHaise a écrit :
> On Thu, Mar 12, 2009 at 04:33:20AM +0100, Eric Dumazet wrote:
>> aio breaks the fget_light() concept too, if process is mono threaded.
>
> AIO requests cannot use fget_light(). The user space program could very
> well use the close() syscall to destroy the file descriptor while an io
> request is in flight, so you cannot avoid the reference counting overhead.
Yes, you are right, AIO doesnt break fget_light()
--
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