diff options
| author | Dan Williams <[email protected]> | 2016-01-16 00:56:17 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-01-16 01:56:32 +0000 |
| commit | 260ae3f7db614a5c4aa4b773599f99adc1d9859e (patch) | |
| tree | faeb0c28acb29ff347f9416ae207e739117cb9a0 /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | mm, dax, pmem: introduce pfn_t (diff) | |
| download | kernel-260ae3f7db614a5c4aa4b773599f99adc1d9859e.tar.gz kernel-260ae3f7db614a5c4aa4b773599f99adc1d9859e.zip | |
mm: skip memory block registration for ZONE_DEVICE
Prevent userspace from trying and failing to online ZONE_DEVICE pages
which are meant to never be onlined.
For example on platforms with a udev rule like the following:
SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"
...will generate futile attempts to online the ZONE_DEVICE sections.
Example kernel messages:
Built 1 zonelists in Node order, mobility grouping on. Total pages: 1004747
Policy zone: Normal
online_pages [mem 0x248000000-0x24fffffff] failed
Signed-off-by: Dan Williams <[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
