From nobody Mon Jun 8 05:26:09 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED36C396B8C; Tue, 2 Jun 2026 19:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780427304; cv=none; b=iCTBhtrparSdwpqBlFH+I2stapNY+EsL/87voRomCfrxDZC8jzhyQGtsASPLs2zqTG9z+sz4GhvyGfNcBX7CI3W/1XYdLqq6OXDUF7r2/hS9Z5+0weA00zTvy1Sb8/fad+L42vHJHtksge/MghDMI3ZAXkwpoVns4Im3EhD7wcc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780427304; c=relaxed/simple; bh=20M5PoE3x3Gtj8i3xw79nCPUtwDj3pLG3Qo42U/7+gI=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=WITwH5iAaLoBnNHZRXCif7VLMifgceHtpge1li5SQtqTb7bPrTQMMX3Sx2s8QomxmbNfP0474A++iinLKpzgEKGKOOAwoGXz/hMAxKeTkw3P3jPbF+txZN2qtp8Hst3RNrmfzc0wix27ij52nI9OnwBO7tAD6dWlPL3x4VZbGxY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=gUeuKmSf; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=5eql+OHX; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="gUeuKmSf"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="5eql+OHX" Date: Tue, 02 Jun 2026 19:08:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780427301; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qXVdBasxAES2+AQ46q+FNG6J6TE8fzOx0ILZwJW9ZhY=; b=gUeuKmSf43MloK8RNYIraB4N2FpU8EduPl2yFIU/KXKGlCMRbJHNSuFMQxk75fwpR6OpBE TjZpXzDhHmBje7Sxhrtb0OnOUkZZKdIlmWacPvQAPIHZLg+MrCpTd7Xg3m3vEk3By2emo3 92JwYFYhvODDBriF3+mEO0hEzKwnpUM/GX//Kq521jLCXphZUjWTOss6OLZCorgwICk9vm k9xrAAaZAdSWp3RteYVK3T0EA6L+9YvUNa5GCLK0K0VHGO3J60cbNM3faWyocBMdVEXfp9 r1Am3K02hDkDTNn7KIsCWgh8nhHePYsA0Ove9yqpH/gNhuq/MPDcS3GUYikgPw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780427301; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qXVdBasxAES2+AQ46q+FNG6J6TE8fzOx0ILZwJW9ZhY=; b=5eql+OHXYuiZ5aHnR0Qla0eXjJVC5MIPcUKrF4itpho0NfuK5IrQj8IOn7m9NlRc9dbY6h WvfOcfMLtT0oxWDA== From: "tip-bot2 for Maoyi Xie" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] time/namespace: Export init_time_ns and do_timens_ktime_to_host() Cc: Maoyi Xie , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260528063311.3300393-2-maoyixie.tju@gmail.com> References: <20260528063311.3300393-2-maoyixie.tju@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178042730029.710.50925738611860194.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/core branch of tip: Commit-ID: 766e828b011ca5f971554001611b4acab7c244c1 Gitweb: https://git.kernel.org/tip/766e828b011ca5f971554001611b4acab= 7c244c1 Author: Maoyi Xie AuthorDate: Thu, 28 May 2026 14:33:10 +08:00 Committer: Thomas Gleixner CommitterDate: Tue, 02 Jun 2026 21:05:36 +02:00 time/namespace: Export init_time_ns and do_timens_ktime_to_host() timens_ktime_to_host() in compares the current time namespace against init_time_ns for the fast path. It calls do_timens_ktime_to_host() for the offset case. Both symbols are needed at link time by any caller of the inline. All current callers are builtin, but ntsync can be built as module, which prevents it from using it. Export both with EXPORT_SYMBOL_GPL. Signed-off-by: Maoyi Xie Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260528063311.3300393-2-maoyixie.tju@gmail.= com --- kernel/time/namespace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/time/namespace.c b/kernel/time/namespace.c index 4bca3f7..5fa0af6 100644 --- a/kernel/time/namespace.c +++ b/kernel/time/namespace.c @@ -57,6 +57,7 @@ ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_= t tim, =20 return tim; } +EXPORT_SYMBOL_GPL(do_timens_ktime_to_host); =20 static struct ucounts *inc_time_namespaces(struct user_namespace *ns) { @@ -351,6 +352,7 @@ struct time_namespace init_time_ns =3D { .user_ns =3D &init_user_ns, .frozen_offsets =3D true, }; +EXPORT_SYMBOL_GPL(init_time_ns); =20 void __init time_ns_init(void) {