OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: no-reply@sashiko.virtuozzo.com
To: Eva Kurchatova <eva.kurchatova@virtuozzo.com>, khorenko@virtuozzo.com
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1 1/4] ms/vdso: Drop Kconfig GENERIC_VDSO_TIME_NS
Date: Fri, 9 Oct 2026 14:04:12 +0000	[thread overview]
Message-ID: <010701a120fa8795-110e3be7-b5dd-4629-84ed-99085fa8e250-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261009135929.3274885-2-eva.kurchatova@virtuozzo.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] config: stale CONFIG_GENERIC_VDSO_TIME_NS=y left in shipped Virtuozzo configs
--

commit 6f298fef5110add3238fa534d536cbb04d9561a1
Author: Eva Kurchatova <eva.kurchatova@virtuozzo.com>

ms/vdso: Drop Kconfig GENERIC_VDSO_TIME_NS

This is a backport of the upstream change that removes the
GENERIC_VDSO_TIME_NS Kconfig symbol. TIME_NS now depends on
GENERIC_GETTIMEOFDAY instead, and the per-architecture selects and the
selftests config entry are dropped.

Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-10-d9b65750e49f@linutronix.de

> diff --git a/lib/vdso/Kconfig b/lib/vdso/Kconfig
> index 45df764b49ad6..a1cc90133cb9e 100644
> --- a/lib/vdso/Kconfig
> +++ b/lib/vdso/Kconfig
> @@ -24,12 +24,6 @@ config GENERIC_COMPAT_VDSO
>  	help
>  	  This config option enables the compat VDSO layer.
>  
> -config GENERIC_VDSO_TIME_NS
> -	bool
> -	help
> -	  Selected by architectures which support time namespaces in the
> -	  VDSO
> -

[Severity: Low]
This removes the Kconfig symbol, but the shipped Virtuozzo config files
still set it:

config.vz10.minimal:
CONFIG_GENERIC_VDSO_TIME_NS=y

configs/kernel-6.12.0-x86_64.config:
CONFIG_GENERIC_VDSO_TIME_NS=y

configs/kernel-6.12.0-x86_64-debug.config:
CONFIG_GENERIC_VDSO_TIME_NS=y

Should these three lines be dropped in this patch as well?

As it stands, make oldconfig or olddefconfig will silently discard the
unknown symbol. The next config regeneration would then produce a spurious
diff, and any check comparing the shipped configs against regenerated
output would report a mismatch.

The effective x86 configuration should not change, since TIME_NS now
depends on GENERIC_GETTIMEOFDAY, which x86 selects unconditionally. The
upstream commit has no equivalent files, so this gap appears specific to
the downstream backport.

The later patches in the series do not appear to remove these references
either.

[ ... ]

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261009135929.3274885-1-eva.kurchatova@virtuozzo.com?part=1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

  reply	other threads:[~2026-10-09 14:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-09 13:58 [Devel] [PATCH hci-8.1 0/4] timens: Remove dependency on the vDSO Eva Kurchatova
2026-10-09 13:58 ` [Devel] [PATCH hci-8.1 1/4] ms/vdso: Drop Kconfig GENERIC_VDSO_TIME_NS Eva Kurchatova
2026-10-09 14:04   ` no-reply [this message]
2026-10-09 13:58 ` [Devel] [PATCH hci-8.1 2/4] ms/vdso/timens: Move functions to new file Eva Kurchatova
2026-10-09 14:03   ` no-reply
2026-10-09 13:58 ` [Devel] [PATCH hci-8.1 3/4] ms/timens: Remove dependency on the vDSO Eva Kurchatova
2026-10-09 14:06   ` no-reply
2026-10-09 13:58 ` [Devel] [PATCH hci-8.1 4/4] timens: freeze the offsets on the first join without the vDSO too Eva Kurchatova
2026-10-09 14:06   ` no-reply

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=010701a120fa8795-110e3be7-b5dd-4629-84ed-99085fa8e250-000000@eu-central-1.amazonses.com \
    --to=no-reply@sashiko.virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=eva.kurchatova@virtuozzo.com \
    --cc=khorenko@virtuozzo.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