diff options
| author | Tim Schmielau <tim@physik3.uni-rostock.de> | 2002-11-07 22:12:48 -0800 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2002-11-07 22:12:48 -0800 |
| commit | 8371ca70e85679cd6c5c5451345bd2802df522fe (patch) | |
| tree | 4824360612d2e8087e265d2a2b9f0d12a9dd5416 /include/linux/sched.h | |
| parent | 75b13e1caef4e637f45c36a4c0c404471005c468 (diff) | |
[PATCH] move _STK_LIM to <linux_resource.h>
I don't see any connection between the stack limit and scheduling. So I
think _STK_LIMIT is better defined in <linux/resource.h> than in
<linux/sched.h>.
The only place STK_LIM is used is in <asm/resource.h>, which only gets
included by <linux/resource.h>, so no change in #includes is necessary.
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 4a376728f5c2..c26b6d0d8d7a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -440,12 +440,6 @@ do { if (atomic_dec_and_test(&(tsk)->usage)) __put_task_struct(tsk); } while(0) #define PT_TRACE_CLONE 0x00000040 #define PT_TRACE_EXEC 0x00000080 -/* - * Limit the stack by to some sane default: root can always - * increase this limit if needed.. 8MB seems reasonable. - */ -#define _STK_LIM (8*1024*1024) - #if CONFIG_SMP extern void set_cpus_allowed(task_t *p, unsigned long new_mask); #else |
