[lkml]   [2008]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -mm] clean up duplicated alloc/free_thread_info
Pekka Enberg writes:

> Yeah, I too have wondered why some architectures use kmalloc() whereas
> others use the page allocator. Is THREAD_SIZE significantly smaller
> than PAGE_SIZE for those?

64-bit powerpc uses 16k kernel stacks and either 4k or 64k page size.
If the page size is 64k then we don't want to allocate a whole page
for a kernel stack.


 \ /
  Last update: 2008-06-03 08:57    [W:0.061 / U:4.180 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site