Dumb kernel stacksize question

linas at austin.ibm.com linas at austin.ibm.com
Wed Nov 26 05:51:03 EST 2003


Is there a guideline for the largest thing one should alloc on
a kernel stack?   I want to have a temp buffer for a workspace,
but doing a __get_free_page(GFP_KERNEL); free_page(); seems like
a waste of time & resource If I can get a suitably large buffer
on the stack.  But I fear overflowing the kernel stack, which,
if I understand correctly, is limited to 2 pages (or something
like that?)


--linas

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list