mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Prashant Singh <singhpra@juniper.net>
Cc: ardb@kernel.org, jk@ozlabs.org, clrkwllms@kernel.org,
	rostedt@goodmis.org, corbet@lwn.net, skhan@linuxfoundation.org,
	rdunlap@infradead.org, lgoncalv@redhat.com, 93sam@debian.org,
	linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-doc@vger.kernel.org, linux-rt-devel@lists.linux.dev
Subject: Re: [PATCH v4] efivarfs: add nostatfs mount option to skip QueryVariableInfo()
Date: Wed, 30 Sep 2026 08:32:17 +0200	[thread overview]
Message-ID: <20260930063217.eWGJ_JpZ@linutronix.de> (raw)
In-Reply-To: <20260930013500.10273-1-singhpra@juniper.net>

On 2026-09-29 18:35:00 [-0700], Prashant Singh wrote:
> >could this be, I don't know something smaller not including the
> >commandline where I would expect that people know how to use it.
> >
> >===================     =========================================================
> >(no)statfs              Control whether ``statfs(2)`` reports the variable-store
> >                        used/ available. Disabling it skips the EFI runtime
> >                        service call, which might block the CPU for a few milliseconds,
> >                        reporting 0 for used and capacity. Enabled by default on
> >                        PREEMPT_RT.
> >===================     =========================================================
> >
> >It might make sense to add this knob to Documentation/core-api/real-time/hardware.rst.
> 
> Thanks, I will use this wording and move it to
> Documentation/core-api/real-time/hardware.rst.

Please keep this description _here_ where you have it. Once this is
merged, you could send another patch, extending the documentation with
the statfs option (I think the workqueue change is in).

You still have the problem that someone reading the variable leads to
the same program but this requires a privileged user. And if I am not
mistaken, someone sent patches to have efi-runtime runtime disabled/
enabled.

> Thanks,
> Prashant

Sebastian

  parent reply	other threads:[~2026-09-30  6:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-28 20:34 Prashant Singh
2026-09-28 20:47 ` sashiko-bot
2026-09-29  6:32 ` Ard Biesheuvel
2026-09-29  7:43 ` Sebastian Andrzej Siewior
2026-09-29 12:22   ` Ard Biesheuvel
2026-09-29 15:14     ` Sebastian Andrzej Siewior
2026-09-30  1:35       ` Prashant Singh
2026-09-30  6:09         ` Ard Biesheuvel
2026-09-30  6:32         ` Sebastian Andrzej Siewior [this message]
2026-10-01  1:20           ` Prashant Singh

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=20260930063217.eWGJ_JpZ@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=93sam@debian.org \
    --cc=ardb@kernel.org \
    --cc=clrkwllms@kernel.org \
    --cc=corbet@lwn.net \
    --cc=jk@ozlabs.org \
    --cc=lgoncalv@redhat.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-devel@lists.linux.dev \
    --cc=rdunlap@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=singhpra@juniper.net \
    --cc=skhan@linuxfoundation.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

all inboxes | Powered by JetHome®