diff options
| author | Mel Gorman <[email protected]> | 2017-02-24 22:56:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-02-25 01:46:54 +0000 |
| commit | 9cd7555875bb09dad875e89a76f41f576e11c638 (patch) | |
| tree | cd57343fa7266348c69070a21ccb0ad28f50c375 /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | mm, page_alloc: split buffered_rmqueue() (diff) | |
| download | kernel-9cd7555875bb09dad875e89a76f41f576e11c638.tar.gz kernel-9cd7555875bb09dad875e89a76f41f576e11c638.zip | |
mm, page_alloc: split alloc_pages_nodemask()
alloc_pages_nodemask does a number of preperation steps that determine
what zones can be used for the allocation depending on a variety of
factors. This is fine but a hypothetical caller that wanted multiple
order-0 pages has to do the preparation steps multiple times. This
patch structures __alloc_pages_nodemask such that it's relatively easy
to build a bulk order-0 page allocator. There is no functional change.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Hillf Danton <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions
