On Mon, 2026-09-21 at 11:56 +0530, Varun Gupta wrote:
> Reference-drop trace in drm_pagemap_dev_unhold_work() was changed
> from drm_dbg() to drm_dbg_ratelimited() to reduce serial console
> bottlenecks.
> However, when the ratelimit kicks in, the kernel's ratelimiting
> subsystem
> logs a "callbacks suppressed" notification at the KERN_WARNING level.
> Revert the trace macro back to drm_dbg()
>
> Fixes: b66b036c959f ("drm/pagemap: Prevent CPU stalls during
> unbounded pagemap teardown")
> Signed-off-by: Varun Gupta <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
> ---
> drivers/gpu/drm/drm_pagemap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_pagemap.c
> b/drivers/gpu/drm/drm_pagemap.c
> index 0867bfbde5c5..ba97daedcd49 100644
> --- a/drivers/gpu/drm/drm_pagemap.c
> +++ b/drivers/gpu/drm/drm_pagemap.c
> @@ -1009,7 +1009,7 @@ static void drm_pagemap_dev_unhold_work(struct
> work_struct *work)
> struct drm_device *drm = dev_hold->drm;
> struct module *module = drm->driver->fops->owner;
>
> - drm_dbg_ratelimited(drm, "Releasing reference on
> provider device and module.\n");
> + drm_dbg(drm, "Releasing reference on provider device
> and module.\n");
> drm_dev_put(drm);
> module_put(module);
> kfree(dev_hold);