|
@@ -34,8 +34,7 @@
|
|
|
* each (assuming 8KB page size), for a total of 8TB of user virtual
|
|
|
* address space.
|
|
|
*/
|
|
|
-#define TASK_SIZE_OF(tsk) ((tsk)->thread.task_size)
|
|
|
-#define TASK_SIZE TASK_SIZE_OF(current)
|
|
|
+#define TASK_SIZE DEFAULT_TASK_SIZE
|
|
|
|
|
|
/*
|
|
|
* This decides where the kernel will search for a free chunk of vm
|
|
@@ -280,7 +279,6 @@ struct thread_struct {
|
|
|
__u8 pad[3];
|
|
|
__u64 ksp; /* kernel stack pointer */
|
|
|
__u64 map_base; /* base address for get_unmapped_area() */
|
|
|
- __u64 task_size; /* limit for task size */
|
|
|
__u64 rbs_bot; /* the base address for the RBS */
|
|
|
int last_fph_cpu; /* CPU that may hold the contents of f32-f127 */
|
|
|
|
|
@@ -303,7 +301,6 @@ struct thread_struct {
|
|
|
.ksp = 0, \
|
|
|
.map_base = DEFAULT_MAP_BASE, \
|
|
|
.rbs_bot = STACK_TOP - DEFAULT_USER_STACK_SIZE, \
|
|
|
- .task_size = DEFAULT_TASK_SIZE, \
|
|
|
.last_fph_cpu = -1, \
|
|
|
INIT_THREAD_PM \
|
|
|
.dbr = {0, }, \
|