Commit 3e025d63 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove task_struct.swappable

Remove unused task_struct.swappable.
parent d83f033a
...@@ -343,7 +343,6 @@ struct task_struct { ...@@ -343,7 +343,6 @@ struct task_struct {
unsigned long start_time; unsigned long start_time;
/* mm fault and swap info: this can arguably be seen as either mm-specific or thread-specific */ /* mm fault and swap info: this can arguably be seen as either mm-specific or thread-specific */
unsigned long min_flt, maj_flt, nswap, cmin_flt, cmaj_flt, cnswap; unsigned long min_flt, maj_flt, nswap, cmin_flt, cmaj_flt, cnswap;
int swappable:1;
/* process credentials */ /* process credentials */
uid_t uid,euid,suid,fsuid; uid_t uid,euid,suid,fsuid;
gid_t gid,egid,sgid,fsgid; gid_t gid,egid,sgid,fsgid;
......
...@@ -757,7 +757,6 @@ static struct task_struct *copy_process(unsigned long clone_flags, ...@@ -757,7 +757,6 @@ static struct task_struct *copy_process(unsigned long clone_flags,
p->thread_info->preempt_count = 1; p->thread_info->preempt_count = 1;
#endif #endif
p->did_exec = 0; p->did_exec = 0;
p->swappable = 0;
p->state = TASK_UNINTERRUPTIBLE; p->state = TASK_UNINTERRUPTIBLE;
copy_flags(clone_flags, p); copy_flags(clone_flags, p);
...@@ -841,7 +840,6 @@ static struct task_struct *copy_process(unsigned long clone_flags, ...@@ -841,7 +840,6 @@ static struct task_struct *copy_process(unsigned long clone_flags,
p->parent_exec_id = p->self_exec_id; p->parent_exec_id = p->self_exec_id;
/* ok, now we should be set up.. */ /* ok, now we should be set up.. */
p->swappable = 1;
if (clone_flags & CLONE_DETACHED) if (clone_flags & CLONE_DETACHED)
p->exit_signal = -1; p->exit_signal = -1;
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment