From: Pratyush Yadav <pratyush@kernel.org>
To: Chenghao Duan <duanchenghao@kylinos.cn>
Cc: pasha.tatashin@soleen.com, rppt@kernel.org,
pratyush@kernel.org, graf@amazon.com,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
kexec@lists.infradead.org, jianghaoran@kylinos.cn
Subject: Re: [PATCH] liveupdate: use scoped_guard for mutex in session operations
Date: Fri, 14 Aug 2026 16:10:34 +0200 [thread overview]
Message-ID: <2vxzzeyo23ol.fsf@kernel.org> (raw)
In-Reply-To: <20260814095506.631274-1-duanchenghao@kylinos.cn> (Chenghao Duan's message of "Fri, 14 Aug 2026 17:55:06 +0800")
On Fri, Aug 14 2026, Chenghao Duan wrote:
> Replace manually paired mutex_lock/unlock with scoped_guard to align
> with the coding style of the rest of the codebase and simplify locking
> paths.
No. This is done explicitly because we don't want to mix gotos with the
automatic cleanup-style locking. I don't think we should change this.
[...]
--
Regards,
Pratyush Yadav
prev parent reply other threads:[~2026-08-14 14:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-14 9:55 [PATCH] liveupdate: use scoped_guard for mutex in session operations Chenghao Duan
2026-08-14 14:10 ` Pratyush Yadav [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=2vxzzeyo23ol.fsf@kernel.org \
--to=pratyush@kernel.org \
--cc=duanchenghao@kylinos.cn \
--cc=graf@amazon.com \
--cc=jianghaoran@kylinos.cn \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=pasha.tatashin@soleen.com \
--cc=rppt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).