Thread (1 message) 1 message, 1 author, 2020-05-12

Re: [PATCH] kexec: Discard loaded image on memory hotplug

From: Eric W. Biederman <hidden>
Date: 2020-05-12 12:03:21
Also in: kexec, linux-mm

David Hildenbrand [off-list ref] writes:
quoted
Maybe we have enough information to fixup the loaded kexec image
in the kexec_file_load case, we certainly don't in the ordinary
kexec_load case.
Yes, that's also what I mentioned in my reply to Baoquan.
quoted
For now I want to stick to the simplest thing we can do which is either
blocking the memory hotplug operation (if that is possible) or
dropping the loaded kexec image.
Yes, the latter is the best for now. It's simple.

I am suggesting to add explicit callbacks to
add_memory()/remove_memory(), and calling the invalidation from there -
because I see various issues with the memory notifier approach (racy,
false positives, never called if memory is not onlined).
Ok so we are in agreement.  Correct patch.  Wrong trigger condition.

Eric


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help