diff options
| author | Dan Williams <[email protected]> | 2016-01-16 00:56:22 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-01-16 01:56:32 +0000 |
| commit | 4b94ffdc4163bae1ec73b6e977ffb7a7da3d06d3 (patch) | |
| tree | f653da252999e8c1f45a2c7ae18fb1c241b4a300 /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | mm: introduce find_dev_pagemap() (diff) | |
| download | kernel-4b94ffdc4163bae1ec73b6e977ffb7a7da3d06d3.tar.gz kernel-4b94ffdc4163bae1ec73b6e977ffb7a7da3d06d3.zip | |
x86, mm: introduce vmem_altmap to augment vmemmap_populate()
In support of providing struct page for large persistent memory
capacities, use struct vmem_altmap to change the default policy for
allocating memory for the memmap array. The default vmemmap_populate()
allocates page table storage area from the page allocator. Given
persistent memory capacities relative to DRAM it may not be feasible to
store the memmap in 'System Memory'. Instead vmem_altmap represents
pre-allocated "device pages" to satisfy vmemmap_alloc_block_buf()
requests.
Signed-off-by: Dan Williams <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Dave Hansen <[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
