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

Re: [MiNT] Firebee Coldfire MiNT Kernel and NFS



On 04/09/2014 13:37, Miro Kropáček a wrote:
This is a very good point. I shared the same belief, perhaps there's an
exception for stuff like XaAES and during this exceptional state also the
NFS code gets executed, as a side effect.

Another idea.
While user software use their private stack, kernel modules share the kernel stack. And...

Found in sys/xfs/nfs/config.h:

/* To speed up buffer allocation, some space on the stack is used. These
 * constants control their size. Make sure that MiNT's system stack
 * is not overloaded! At the moment (MiNT 1.09) it is 8kb big.
 * These values should be sufficient for most cases to avoid additional
 * memory allocation.
 */
#define LOOKUPBUFSIZE      128   /* size of the buffer on the stack */
...

Beware of stack overflows...

--
Vincent Rivière