Thread (2 messages) flat view 2 messages, 2 authors, 2016-09-08

Re: [PATCH v4 0/5] kexec_file: Add buffer hand-over for the next kernel

From: Eric W. Biederman <hidden>
Date: 2016-09-07 14:35:01
Also in: kexec, lkml

ebiederm@xmission.com (Eric W. Biederman) writes:
Thiago Jung Bauermann [off-list ref] writes:
quoted
Hello,

The purpose of this new version of the series is to fix a small issue that
I found, which is that the kernel doesn't remove the memory reservation
for the hand-over buffer it received from the previous kernel in the
device tree it sets up for the next kernel. The result is that for each
successive kexec, a stale hand-over buffer is left behind, wasting memory.

This is fixed by changes to kexec_free_handover_buffer and
setup_handover_buffer in patch 2. The other change is to fix checkpatch
warnings in the last patch.
This is fundamentally broken.  You do not increase the integrity of a
system by dropping integrity checks.

No. No. No. No.

Nacked-by: "Eric W. Biederman" [off-list ref]
To be constructive the way we have handled similiar situations in the
past (hotplu memory) is to call kexec_load again.

Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help