From: Thomas Gleixner <tglx@kernel.org>
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>,
"Anna-Maria Behnsen" <anna-maria@linutronix.de>,
"Frederic Weisbecker" <frederic@kernel.org>,
"Andy Lutomirski" <luto@kernel.org>,
"Vincenzo Frascino" <vincenzo.frascino@arm.com>
Cc: linux-kernel@vger.kernel.org,
"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Subject: Re: [PATCH 1/2] vdso/timens: Move functions to new file
Date: Tue, 24 Mar 2026 20:36:48 +0100 [thread overview]
Message-ID: <877br1ggtr.ffs@tglx> (raw)
In-Reply-To: <20260323-vdso-timens-decoupling-v1-1-0181a809b7a6@linutronix.de>
On Mon, Mar 23 2026 at 09:07, Thomas Weißschuh wrote:
> +static void timens_set_vvar_page(struct task_struct *task,
> + struct time_namespace *ns)
> +{
> + struct vdso_time_data *vdata;
> + struct vdso_clock *vc;
> + unsigned int i;
> +
> + if (ns == &init_time_ns)
> + return;
> +
> + /* Fast-path, taken by every task in namespace except the first. */
> + if (likely(ns->frozen_offsets))
> + return;
> +
> + mutex_lock(&timens_offset_lock);
Please convert all the locking to guard() while at it.
Thanks,
tglx
next prev parent reply other threads:[~2026-03-24 19:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-23 8:07 [PATCH 0/2] timens: Remove dependency on the vDSO Thomas Weißschuh
2026-03-23 8:07 ` [PATCH 1/2] vdso/timens: Move functions to new file Thomas Weißschuh
2026-03-24 19:36 ` Thomas Gleixner [this message]
2026-03-25 7:58 ` Thomas Weißschuh
2026-03-23 8:07 ` [PATCH 2/2] timens: Remove dependency on the vDSO Thomas Weißschuh
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=877br1ggtr.ffs@tglx \
--to=tglx@kernel.org \
--cc=anna-maria@linutronix.de \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=thomas.weissschuh@linutronix.de \
--cc=vincenzo.frascino@arm.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