From: Oleg Nesterov <oleg@redhat.com>
To: Jiayi Zhang <zhangjiayi1014@gmail.com>
Cc: Christian Brauner <brauner@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
syzbot+d608d486bd3b7062bafc@syzkaller.appspotmail.com,
syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH] proc: use pid_has_task() in proc_inode_is_dead()
Date: Thu, 3 Dec 2026 10:22:25 +0100 [thread overview]
Message-ID: <axE00Wj_a4LVpH7V@redhat.com> (raw)
In-Reply-To: <20261202175210.4123870-1-zhangjiayi1014@gmail.com>
On 12/02, Jiayi Zhang wrote:
>
> --- a/fs/proc/base.c
> +++ b/fs/proc/base.c
> @@ -2064,7 +2064,7 @@ out:
>
> static inline bool proc_inode_is_dead(struct inode *inode)
> {
> - return !proc_pid(inode)->tasks[PIDTYPE_PID].first;
> + return !pid_has_task(proc_pid(inode), PIDTYPE_PID);
> }
The same change is alredy in Christian' tree, see
[PATCH] proc: use pid_has_task() in proc_inode_is_dead()
https://lore.kernel.org/all/atObuVZXbl9n-zFq@redhat.com/
Oleg.
next prev parent reply other threads:[~2026-12-03 9:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 17:52 [PATCH] proc: use pid_has_task() in proc_inode_is_dead() Jiayi Zhang
2026-12-03 9:22 ` Oleg Nesterov [this message]
2026-12-03 10:32 ` Jiayi Zhang
-- strict thread matches above, loose matches on Subject: below --
2026-10-17 16:00 Oleg Nesterov
2026-10-21 14:01 ` Christian Brauner
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=axE00Wj_a4LVpH7V@redhat.com \
--to=oleg@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=brauner@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+d608d486bd3b7062bafc@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=zhangjiayi1014@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.