mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Skip the xarray reservation loop when clearing all memory attributes, as storing NULL only erases the entry and never needs to allocate, so no reservation (and no cleanup of a failed one) is required in that case. Suggested-by: Sean Christopherson <[email protected]> Cc: David Ballesteros <[email protected]> Signed-off-by: Zeng Chi <[email protected]> Link: https://patch.msgid.link/[email protected] [sean: split to separate patch] Signed-off-by: Sean Christopherson <[email protected]>