[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVxJT8vuh+Jm1LYhiQBLvi6TASpGgKm0CCqVS=g3QE+eHK7Wg@mail.gmail.com>
Date: Thu, 31 Oct 2013 13:32:13 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Cyrill Gorcunov <gorcunov@...nvz.org>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
Pavel Emelyanov <xemul@...allels.com>,
Oleg Nesterov <oleg@...hat.com>,
Andrey Vagin <avagin@...nvz.org>,
Al Viro <viro@...iv.linux.org.uk>,
James Bottomley <jbottomley@...allels.com>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
Matthew Helsley <matt.helsley@...il.com>,
"J. Bruce Fields" <bfields@...ldses.org>,
Tvrtko Ursulin <tvrtko.ursulin@...lan.co.uk>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [patch 1/6] procfs: Introduce sequential fdinfo engine
On Wed, Oct 30, 2013 at 10:59 PM, Cyrill Gorcunov <gorcunov@...nvz.org> wrote:
> At moment the fdinfo operations (ie the output from /proc/$pid/fdinfo/$fd)
> are generating output in one pass, which makes useless memory pressue
> if the reader/user provides a buffer with a small size.
cat(1) uses 64 KB buffer.
The output doesn't exceed one page anyway.
--
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