Messages in this thread | | | Date | Mon, 9 Jan 2017 13:45:02 +0000 | From | Matt Fleming <> | Subject | Re: [PATCH v2 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init() |
| |
On Mon, 09 Jan, at 01:31:52PM, Mel Gorman wrote: > > Well, you could put in a __init global variable about availability into > mm/memblock.c and then check it in memblock APIs like memblock_reserve() > to BUG_ON? I know BUG_ON is frowned upon but this is not likely to be a > situation that can be sensibly recovered.
Indeed. I've only ever seen this situation lead to silent memory corruption and bitter tears.
| |