Re: [patch 1/6] procfs: Introduce sequential fdinfo engine

From: Alexey Dobriyan
Date: Thu Oct 31 2013 - 06:32:20 EST

On Wed, Oct 30, 2013 at 10:59 PM, Cyrill Gorcunov <gorcunov@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at