From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "Poil Zero(Shengqiang Zeng)" <poilandgginchi@gmail.com>
Cc: "Alice Ryhl" <aliceryhl@google.com>,
"Arve Hjønnevåg" <arve@android.com>,
"Todd Kjos" <tkjos@android.com>,
"Christian Brauner" <brauner@kernel.org>,
"Carlos Llamas" <cmllamas@google.com>,
linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org
Subject: Re: [PATCH v2] rust_binder: unregister shrinker if binderfs initialization fails
Date: Mon, 30 Nov 2026 10:03:49 +0100 [thread overview]
Message-ID: <2026113029-spiffy-relic-9cd7@gregkh> (raw)
In-Reply-To: <CAGdLfDcLoYY+TNb7W0=_skPY9f4D9ELo30csgkRS+8gXdRfYOQ@mail.gmail.com>
On Mon, Nov 30, 2026 at 08:46:38AM +0000, Poil Zero(Shengqiang Zeng) wrote:
> BinderModule::init() registers the Binder shrinker before initializing
> binderfs. If init_rust_binderfs() fails, the driver returns an error
> but leaves the shrinker registered and its list_lru allocated.
>
> Unregister the shrinker on this error path before destroying its
> list_lru so that active reclaim callbacks finish before teardown.
> Return the original binderfs error.
>
> Fixes: eafedbc7c050 ("rust_binder: add Rust Binder driver")
> Signed-off-by: Poil Zero(Shengqiang Zeng) <poilandgginchi@gmail.com>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- It looks like you did not use your "real" name for the patch on either
the Signed-off-by: line, or the From: line (both of which have to
match). Please read the kernel file,
Documentation/process/submitting-patches.rst for how to do this
correctly.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
next prev parent reply other threads:[~2026-11-30 9:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 8:46 Poil Zero(Shengqiang Zeng)
2026-11-30 9:03 ` Greg Kroah-Hartman [this message]
2026-11-30 9:11 ` Alice Ryhl
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=2026113029-spiffy-relic-9cd7@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=aliceryhl@google.com \
--cc=arve@android.com \
--cc=brauner@kernel.org \
--cc=cmllamas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=poilandgginchi@gmail.com \
--cc=rust-for-linux@vger.kernel.org \
--cc=tkjos@android.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®