Linux filesystem development
 help / color / mirror / Atom feed
From: Jian Huang Li <ali@ddn.com>
To: linux-fsdevel@vger.kernel.org
Cc: miklos@szeredi.hu, bschubert@ddn.com
Subject: Re: [PATCH v2] fs/fuse: fix potential memory leak from fuse_uring_cancel
Date: Thu, 11 Sep 2025 15:37:04 +0800	[thread overview]
Message-ID: <1029a4e2-bf0d-4394-9b37-ae66126d610b@ddn.com> (raw)
In-Reply-To: <94377ddf-9d04-4181-a632-d8c393dcd240@ddn.com>

Changelog
---------
v1: 
https://lore.kernel.org/all/4a599306-5ef1-4531-b733-4984d09b97a1@ddn.com/
v1 -> v2:
* Instead of introducing a new list, keep to use ent_in_userspace to
   handle not-in-using entities when SQEs get canceled, and
   iterate/free on the ent_in_userspace list in fuse_uring_destruct.

  reply	other threads:[~2025-09-11  7:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-11  7:33 [PATCH v2] fs/fuse: fix potential memory leak from fuse_uring_cancel Jian Huang Li
2025-09-11  7:37 ` Jian Huang Li [this message]
2025-09-15 18:15 ` Joanne Koong
2025-09-15 20:15   ` Bernd Schubert
2025-09-15 21:23     ` Joanne Koong
2025-09-15 21:46       ` Bernd Schubert
2025-09-15 21:57         ` Bernd Schubert
2025-09-15 23:04           ` Joanne Koong
2025-09-16  9:17             ` Bernd Schubert
2025-09-16 20:12               ` Joanne Koong

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=1029a4e2-bf0d-4394-9b37-ae66126d610b@ddn.com \
    --to=ali@ddn.com \
    --cc=bschubert@ddn.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox