On 11/15/06, Bithika Khargharia <bithika@xxxxxxxxx> wrote:
Hi, I noticed that the seq_file size is set to 1 PAGE_SIZE. in fs/seq_file.c m->buf = kmalloc(m->size = PAGE_SIZE, GFP_KERNEL); However, I need to read a lot of data from a kernel data structure into the seq file in /proc every so often. I was wondering if it is a good idea to change the size of the seq file.
http://www.ussg.iu.edu/hypermail/linux/kernel/0307.1/0661.html -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/