Re: Increasing the size of seq_file

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

 



On 11/18/06, black hole <neyrith@xxxxxxxxx> wrote:

I've checked the seq_read() implementation again.
Only the initial size of the buf is set to the PAGE_SIZE.
If the size of the buf is not enough then it is later being
increased by the power of two.


Thanks Black hole.So this was what was happening then. I looked at the code again and have few more questions

1. How does the @size parameter in seq_read get specified?

2. Can you point me to the specific block of code that compares buffer size and increases it if not enough? Is there an upper limit on maximum size of the buffer?

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