seq_file size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Thanks
Bithika

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux