Michal Hocko c62d25556b mm, fs: introduce mapping_gfp_constraint()
There are many places which use mapping_gfp_mask to restrict a more
generic gfp mask which would be used for allocations which are not
directly related to the page cache but they are performed in the same
context.

Let's introduce a helper function which makes the restriction explicit and
easier to track.  This patch doesn't introduce any functional changes.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Michal Hocko <mhocko@suse.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-11-06 17:50:42 -08:00
..
2007-05-07 12:12:51 -07:00
2005-04-16 15:20:36 -07:00
2014-06-04 16:53:52 -07:00
2014-10-09 22:25:46 -04:00
2014-04-07 16:35:49 -07:00
2013-06-29 12:56:48 +04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2015-06-23 18:01:59 -04:00
2009-01-22 13:15:55 +03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2015-06-24 17:49:38 -07:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2006-12-07 08:39:23 -08:00
2008-05-24 09:56:08 -07:00