Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
3e025d63
Commit
3e025d63
authored
Dec 29, 2002
by
Andrew Morton
Committed by
Linus Torvalds
Dec 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove task_struct.swappable
Remove unused task_struct.swappable.
parent
d83f033a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
include/linux/sched.h
include/linux/sched.h
+0
-1
kernel/fork.c
kernel/fork.c
+0
-2
No files found.
include/linux/sched.h
View file @
3e025d63
...
...
@@ -343,7 +343,6 @@ struct task_struct {
unsigned
long
start_time
;
/* 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
;
int
swappable
:
1
;
/* process credentials */
uid_t
uid
,
euid
,
suid
,
fsuid
;
gid_t
gid
,
egid
,
sgid
,
fsgid
;
...
...
kernel/fork.c
View file @
3e025d63
...
...
@@ -757,7 +757,6 @@ static struct task_struct *copy_process(unsigned long clone_flags,
p
->
thread_info
->
preempt_count
=
1
;
#endif
p
->
did_exec
=
0
;
p
->
swappable
=
0
;
p
->
state
=
TASK_UNINTERRUPTIBLE
;
copy_flags
(
clone_flags
,
p
);
...
...
@@ -841,7 +840,6 @@ static struct task_struct *copy_process(unsigned long clone_flags,
p
->
parent_exec_id
=
p
->
self_exec_id
;
/* ok, now we should be set up.. */
p
->
swappable
=
1
;
if
(
clone_flags
&
CLONE_DETACHED
)
p
->
exit_signal
=
-
1
;
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment