Re: Kernel stack....

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

 



> tells me:
> "i386 ... kernel stack is a (per process) area of 8KBytes".

actually its 8KBytes - sizeof(struct task_struct) - stack space used by
irq handlers.

My best possible suggestion is to aim to use no more than 4KBytes if 
possible.

> On my wn I discovered that inserting the bonehead newbie declaration { 
> char buf[4 + 65530]; } into cdrom.ko along with some other seemingly 
> innocent code makes the kernel go boom.  I do not know if in fact thus 
> I did ask to allot 65534 bytes out of 8192, but I figure I may have.
> 
> Pat LaVarre
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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