lkml.org 
[lkml]   [2011]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 12/19] OpenRISC: Scheduling/Process management
Date
Jonas Bonn <jonas@southpole.se> writes:

> + * normally, the stack is found by doing something like p + THREAD_SIZE
> + * in or32, a page is 8192 bytes, which seems like a sane size
> + */
> +
> +#define THREAD_SIZE PAGE_SIZE
> +#define THREAD_SIZE_ORDER 1

The ORDER == 1 and 8k you would get a 16k stack per thread,
which may be excessive?

> +#if 0
> +
> +/*
> + * The hlt_counter, disable_hlt and enable_hlt is just here as a hook
> if
You definitely don't need that.


-Andi

--
ak@linux.intel.com -- Speaking for myself only


\
 
 \ /
  Last update: 2011-06-19 23:21    [W:0.198 / U:0.060 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site