mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christian Brauner <brauner@kernel.org>
To: Mateusz Guzik <mjguzik@gmail.com>
Cc: viro@zeniv.linux.org.uk, jack@suse.cz,
	linux-kernel@vger.kernel.org,  linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] vfs: rename parent_ino to d_parent_ino and make it use RCU
Date: Thu, 27 Jun 2024 18:30:22 +0200	[thread overview]
Message-ID: <20240627-bekommen-fazit-59144d1745cd@brauner> (raw)
In-Reply-To: <20240627161152.802567-1-mjguzik@gmail.com>

On Thu, Jun 27, 2024 at 06:11:52PM GMT, Mateusz Guzik wrote:
> The routine is used by procfs through dir_emit_dots.
> 
> The combined RCU and lock fallback implementation is too big for an
> inline. Given that the routine takes a dentry argument fs/dcache.c seems
> like the place to put it in.
> 
> Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
> ---
> 
> this shows up with stress-ng --getdent (as one of many things)
> 
> build-tested with first adding d_parent_ino, then building allmodconfig
> and fixing failures as they pop up. by the end of it grep shows no
> remaining occurences, so i don't believe there will be any build regressions.
> 
> scheme borrowed from dget_parent

I like it.

      reply	other threads:[~2024-06-27 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27 16:11 Mateusz Guzik
2024-06-27 16:30 ` Christian Brauner [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=20240627-bekommen-fazit-59144d1745cd@brauner \
    --to=brauner@kernel.org \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjguzik@gmail.com \
    --cc=viro@zeniv.linux.org.uk \
    /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®