From: Andrew Morton <akpm@linux-foundation.org>
To: thanhnguyentuan2007@gmail.com
Cc: Bart Van Assche <bvanassche@acm.org>,
Jens Axboe <axboe@kernel.dk>, Ming Lei <ming.lei@redhat.com>,
linux-block@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
syzbot+4138704b4276d9a57251@syzkaller.appspotmail.com,
Wang Yibo <szwyb123@gmail.com>
Subject: Re: [PATCH] sbitmap: reset alloc_hint to NULL after freeing
Date: Wed, 2 Dec 2026 11:29:38 -0800 [thread overview]
Message-ID: <20261202112938.a596225d374bdf002bd1ad81@linux-foundation.org> (raw)
In-Reply-To: <CADjmwVVbxqiZg1eQcCVfhDSJ6u+df9q13TRQpMACfNYPdR3FRw@mail.gmail.com>
On Wed, 2 Dec 2026 10:18:54 -0500 thanhnguyentuan2007@gmail.com wrote:
> Thanks for pointing this out. Your patch is indeed more complete — I
> missed the dangling sbq->ws in sbitmap_queue_free() and the
> init_alloc_hint() failure path. I hadn't seen your patch before
> sending mine.
>
> I'll drop my patch.
fyi, I'm sitting on Wang's "lib/sbitmap: add KUnit test suite",
https://patch.msgid.link/20261016073253.520971-1-szwyb123@gmail.com
so as people are working on sbitmap, please consider updating that test
at an appropriate time.
Actually I'll send "lib/sbitmap: add KUnit test suite" to Jens right
now.
prev parent reply other threads:[~2026-12-02 19:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 4:15 Thanh Nguyen
2026-12-02 15:02 ` Bart Van Assche
2026-12-02 15:18 ` thanhnguyentuan2007
2026-12-02 16:59 ` Bart Van Assche
2026-12-02 17:41 ` thanhnguyentuan2007
2026-12-02 19:29 ` Andrew Morton [this message]
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=20261202112938.a596225d374bdf002bd1ad81@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=ming.lei@redhat.com \
--cc=stable@vger.kernel.org \
--cc=syzbot+4138704b4276d9a57251@syzkaller.appspotmail.com \
--cc=szwyb123@gmail.com \
--cc=thanhnguyentuan2007@gmail.com \
/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
all inboxes | Powered by JetHome®