[Devel] [PATCH hci-8.2 4/4] ms/gpu/buddy: do not pass caller list to __alloc_contig_try_harder()

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Wed Nov 18 14:45:00 MSK 2026


> From: Matthew Auld <matthew.auld at intel.com>
> 
> If the caller passes a non-empty blocks list, __alloc_contig_try_harder()
> unconditionally frees it on failure or during retry.
> 
> Pass the local allocated list instead and only splice it onto the caller's
> list upon success.
> 
> Assisted-by: LLM
> Reported-by: Shashiko <sashiko-bot at kernel.org>
> Closes: https://sashiko.dev/#/bug/linux-fa721daf-7333-48b5-a26b-624c7f5791d7
> Fixes: 0a1844bf0b53 ("drm/buddy: Improve contiguous memory allocation")
> Cc: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam at amd.com>
> Cc: Joel Fernandes <joelagnelf at nvidia.com>
> Cc: <stable at vger.kernel.org>
> [ ... ]
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-155318
> Feature: fix ms/drm
> 
> Signed-off-by: Mirian Shilakadze <mirian.shilakadze at virtuozzo.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261118113935.381228-1-mirian.shilakadze@virtuozzo.com?part=4




More information about the Devel mailing list