aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2017-03-07 11:59:43 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-03-07 11:59:43 +1100
commit9fc0efb87febf60876897cfc73a181f5f7f61410 (patch)
tree3ae1ff3b0e9b1db6b266ce76249765d6af0913c9 /mm
parent1e2a8d2ff5cf2f374dc173e805b71f4b65d1b967 (diff)
mm-introduce-memalloc_nofs_saverestore-api-fix
fix comment typo, reflow comment Cc: Michal Hocko <mhocko@suse.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 7efc48185ced..ee63fea1c52d 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3948,10 +3948,10 @@ __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order,
goto out;
/*
- * Apply scoped allocation constrains. This is mainly about
- * GFP_NOFS resp. GFP_NOIO which has to be inherited for all
- * allocation requests from a particular context which has
- * been marked by memalloc_no{fs,io}_{save,restore}
+ * Apply scoped allocation constraints. This is mainly about GFP_NOFS
+ * resp. GFP_NOIO which has to be inherited for all allocation requests
+ * from a particular context which has been marked by
+ * memalloc_no{fs,io}_{save,restore}.
*/
alloc_mask = current_gfp_context(gfp_mask);
ac.spread_dirty_pages = false;