diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2011-09-07 10:41:32 -0600 |
---|---|---|
committer | Wu Fengguang <fengguang.wu@intel.com> | 2011-11-17 20:49:06 +0800 |
commit | 468e6a20afaccb67e2a7d7f60d301f90e1c6f301 (patch) | |
tree | 5558e92e85decd0fa0bb95ed6e637e1f68ea2fe1 /kernel | |
parent | 1df647197c5b8aacaeb58592cba9a1df322c9000 (diff) | |
download | linux-468e6a20afaccb67e2a7d7f60d301f90e1c6f301.tar.bz2 |
writeback: remove vm_dirties and task->dirties
They are not used any more.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index ba0d17261329..da4a6a10d088 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -162,7 +162,6 @@ static void account_kernel_stack(struct thread_info *ti, int account) void free_task(struct task_struct *tsk) { - prop_local_destroy_single(&tsk->dirties); account_kernel_stack(tsk->stack, -1); free_thread_info(tsk->stack); rt_mutex_debug_task_free(tsk); @@ -274,10 +273,6 @@ static struct task_struct *dup_task_struct(struct task_struct *orig) tsk->stack = ti; - err = prop_local_init_single(&tsk->dirties); - if (err) - goto out; - setup_thread_stack(tsk, orig); clear_user_return_notifier(tsk); clear_tsk_need_resched(tsk); |