From: Greg KH <gregkh@linuxfoundation.org>
To: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 5.10.y] drm/i915: Fix memory leak by correcting cache object name in error handler
Date: Tue, 17 Dec 2024 07:42:05 +0100 [thread overview]
Message-ID: <2024121753-ivy-busload-126f@gregkh> (raw)
In-Reply-To: <20241216161840.4815-1-jiashengjiangcool@gmail.com>
On Mon, Dec 16, 2024 at 04:18:40PM +0000, Jiasheng Jiang wrote:
> Replace "slab_priorities" with "slab_dependencies" in the error handler
> to avoid memory leak.
>
> Fixes: 32eb6bcfdda9 ("drm/i915: Make request allocation caches global")
> Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
> ---
> drivers/gpu/drm/i915/i915_scheduler.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_scheduler.c b/drivers/gpu/drm/i915/i915_scheduler.c
> index cbb880b10c65..a58b70444abd 100644
> --- a/drivers/gpu/drm/i915/i915_scheduler.c
> +++ b/drivers/gpu/drm/i915/i915_scheduler.c
> @@ -538,6 +538,6 @@ int __init i915_global_scheduler_init(void)
> return 0;
>
> err_priorities:
> - kmem_cache_destroy(global.slab_priorities);
> + kmem_cache_destroy(global.slab_dependencies);
> return -ENOMEM;
> }
> --
> 2.25.1
What is the git commit id of this change?
next prev parent reply other threads:[~2024-12-17 6:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-15 8:33 FAILED: patch "[PATCH] drm/i915: Fix memory leak by correcting cache object name in" failed to apply to 5.10-stable tree gregkh
2024-12-16 13:29 ` Andi Shyti
[not found] ` <BYAPR05MB6406014F80159A032E3D7A74AD3B2@BYAPR05MB6406.namprd05.prod.outlook.com>
2024-12-17 17:58 ` Andi Shyti
2024-12-16 16:18 ` [PATCH 5.10.y] drm/i915: Fix memory leak by correcting cache object name in error handler Jiasheng Jiang
2024-12-17 0:42 ` Sasha Levin
2024-12-17 6:42 ` Greg KH [this message]
2024-12-17 9:01 ` Greg KH
2024-12-17 20:40 ` Jiasheng Jiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2024121753-ivy-busload-126f@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=jiashengjiangcool@gmail.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.