Messages in this thread | | | Date | Thu, 21 Dec 2023 14:12:58 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH] kexec_core: fix the assignment to kimage->control_page |
| |
On Thu, 21 Dec 2023 12:23:08 +0800 Yuntao Wang <ytcoode@gmail.com> wrote:
> image->control_page represents the starting address for allocating the next > control page, while hole_end represents the address of the last valid byte > of the currently allocated control page. > > Therefore, after successfully allocating a control page, image->control_page > should be updated to `hole_end + 1`, rather than hole_end.
Thanks. Again, please include a description of the userspace-visible effects of the bug.
| |