Skip to content
Commit dce46a04 authored by Yinghai Lu's avatar Yinghai Lu Committed by H. Peter Anvin
Browse files

early_res: Need to save the allocation name in drop_range_partial()



During free_early_partial(), reserve_early_without_check() could end
extending the early_res area from __check_and_double_early_res(); as a
result, the location of the name for the current reservation could
change.

Therefore, we need to save a local copy of the name.

[ hpa: rewrote comment and checkin description ]

Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
LKML-Reference: <4B8C7C94.7070000@kernel.org>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 81d0d950
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment