Re: [PATCH 3/9] procfs: add proc_read_from_buffer() and pid_entry_read() helpers

From: Alexey Dobriyan
Date: Tue Jun 03 2014 - 06:13:31 EST


On Mon, May 26, 2014 at 4:27 PM, Djalal Harouni <tixxdz@xxxxxxxxxx> wrote:
> +/* 4K page size but our output routines use some slack for overruns */
> +#define PROC_BLOCK_SIZE (3*1024)


This macro is the most ugly part of /proc, let's not dup it. :-)
Overruns simply should not happen.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/