[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <75e25786-600b-49e3-bc03-6b62d1d23ef4@web.de>
Date: Wed, 13 Aug 2025 14:23:10 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Qianfeng Rong <rongqianfeng@...o.com>, nouveau@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, Ben Skeggs <bskeggs@...dia.com>,
Danilo Krummrich <dakr@...nel.org>, Dave Airlie <airlied@...hat.com>,
Lyude Paul <lyude@...hat.com>, Simona Vetter <simona@...ll.ch>,
Timur Tabi <ttabi@...dia.com>, Zhi Wang <zhiw@...dia.com>
Cc: LKML <linux-kernel@...r.kernel.org>, David Airlie <airlied@...il.com>
Subject: Re: [PATCH] drm/nouveau/gsp: fix mismatched alloc/free for kvmalloc()
> Replace kfree() with kvfree() for memory allocated by kvmalloc().
* Would you like to improve the exception handling by using another goto chain?
* How do you think about to increase the application of scope-based resource management?
https://elixir.bootlin.com/linux/v6.16/source/include/linux/slab.h#L1081
Regards,
Markus
Powered by blists - more mailing lists