projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] VM: add __GFP_NORECLAIM
[deliverable/linux.git]
/
mm
/
page_alloc.c
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index 3c0f69ded6b53d3f508bcafe362eb540003d8d45..a9da20bc2ed09a754fb69046f32e7e38066507ce 100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-729,6
+729,8
@@
should_reclaim_zone(struct zone *z, unsigned int gfp_mask)
{
if (!z->reclaim_pages)
return 0;
+ if (gfp_mask & __GFP_NORECLAIM)
+ return 0;
return 1;
}
This page took
0.024251 seconds
and
5
git commands to generate.