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
13c5afb9
Commit
13c5afb9
authored
May 22, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux-dj.bkbits.net/agpgart
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
21a19f5d
6171369f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mm/vmscan.c
mm/vmscan.c
+5
-0
No files found.
mm/vmscan.c
View file @
13c5afb9
...
...
@@ -1010,7 +1010,11 @@ int shrink_all_memory(int nr_pages)
pg_data_t
*
pgdat
;
int
nr_to_free
=
nr_pages
;
int
ret
=
0
;
struct
reclaim_state
reclaim_state
=
{
.
reclaimed_slab
=
0
,
};
current
->
reclaim_state
=
&
reclaim_state
;
for_each_pgdat
(
pgdat
)
{
int
freed
;
struct
page_state
ps
;
...
...
@@ -1022,6 +1026,7 @@ int shrink_all_memory(int nr_pages)
if
(
nr_to_free
<=
0
)
break
;
}
current
->
reclaim_state
=
NULL
;
return
ret
;
}
#endif
...
...
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