From nobody Tue Dec 2 02:30:06 2025 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3CEC354703 for ; Wed, 19 Nov 2025 15:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763567133; cv=none; b=XSMAx9v2grfoAdWkjmVQikd+JmEUY4uYzCFrx3o0bgxBbn8SyQfXtbITOD/R6qX6OmRSPm8BceBI3ZDQyRY0y4ENbVmot9/AzER1MwqcrZf9ef3ns3Nrqje1tpSo4TER5prHqMrCelxmnWnmyXMZ6DJ03NRq03hVegttsu1eDgs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763567133; c=relaxed/simple; bh=VU47rRSEpIhBbnpqxo3Mzoi4kyXh9HmEgVPJi/PKKQQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gOZ69klYB780YuyBSFn2mZQabjBbs/Y7FHvIkU4oFVTBAr6R02EuXakD7KXDEOSera7T2kCJKfhualAsEkxndJHQyg4JMbp2BopsNLNVIeLw1YphSrzIKbTZco2kmYBPywf8MYAo/VBAImxtLKexHMrv56pqsrzNnwEv/N2l7Dc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=XZ/ijRdZ; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XZ/ijRdZ" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4779cc419b2so48344595e9.3 for ; Wed, 19 Nov 2025 07:45:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1763567127; x=1764171927; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tjfIjN6LzAYPexJPKxlzOegJPOplIDmw8UmBc2QBBmw=; b=XZ/ijRdZu5x0OvTVmkMq1wPbsmeKFbLQbYrPafVtvHT+ZqFCKf2Qcp9C1tVp2N/J0D knNKJXhbr9JziRTGWFdIQncXLZViZHEaisM6DwHPeG9AVVqt8e5GgvS/eZ6W3CQ/wgNE eUAxxuNkPdWWUIiLOxyTbNxpAEDi0zbJRjyi0M/skuHii8wzYx9Fd2XFdKA55bwmURB0 E/GzFp+ssYwIxqtSwO6ujSuf9arYgXH7dCM0Qa9fwXjuXaTftH8SAdowmnTn83UEVeRo Dr6xOSIAlKga7MCQloURP4hs/LnWJvAeIdLWYMQ+WB3ui+rujTltgYm6XmZue5TsfJXv q+HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763567127; x=1764171927; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tjfIjN6LzAYPexJPKxlzOegJPOplIDmw8UmBc2QBBmw=; b=l0A5z9BZHCwze37zRlJPNbG71Dx2ju8jX0Me3nfsc75zgoTqJVBqjBiV3JvnI5u44l 77z0vt+JvUnMjaSyz6GPM2R4rg7RlwKoou24/sVO5X+3fqeZ1syZClACW34qaXRbmnIP JWoVfwkxwKW7pGBhDOdN7SKAlUFvH213ioY/B3/WvYlQu6S0ufJ7NvGo/d/SewLzxMJ5 OxLEroEuvslCrxrHwDXABpWom0pTYC4ks517KlBszEYTsDNGQtILlsrVSxIIV/vF0H/4 yUxwYgY/dKEFZUCK5bkoctZd10BRBT40UMbc/h2cjeyUaG59Zb/1doh2LdqyM1rpcb4N xQOA== X-Forwarded-Encrypted: i=1; AJvYcCURprGN6Abtdy/TgJ3RbCHQONfr2mm9Nl5OGIMu9iO1wP/jKdFFYrN1ZkTRGBkWMQDBoQQAfrS1Byuamy4=@vger.kernel.org X-Gm-Message-State: AOJu0YwooUkDSsIB7cwNJHzCog0bWBPOaU0TpfPROLdLCw3yEt1eldRd 8vwY4/wJ3o7vxxqle97Po23hiSI/BkoTgYNy47mwupuTfaEnQ/ba80H3M9eyyHA6vbk= X-Gm-Gg: ASbGncuFagiFHDxvnS+/q6Y3q9Zi5dg93xW422EKi5dBLTJXQpCbBemUaAn7JvCA1E8 DutmCDCtc49WATbGQ7tHqjNsEP1puPtVV0NqaHQqxU2hDS9ViSwTNGYcKKi8a1aNggVf9cztV7s Cg9tFLD1a7T8jIZ8vLPQTyglNTc3rPrQ8kkM5FpRF6chM/ZoJ4sac5EW3ZO1kgEvfeqoAylum2/ gmJVVHGaGRu6tnWy0zH1CamusCtnI/K7cSl5qa1tj5UtdFqObv4TbDq90S3DPa3ZERQ4CgYcvd/ c+j7QUvennPTNpCGu2Uk6w1He30O8niW7BzRzaiFAnfJfnQcYXop+UXUU7/bH37N39aHfsA9wyO RV+i9IRpbuqHAScO2llXz5/odA9LS68qBt1o3p6NLfCZ5TGwybDKNCFZChuKgiAlhKukmfyh2sG hwg7rG66KB9mCEhxfSknJiYNGylNYUvw== X-Google-Smtp-Source: AGHT+IEfh56DkbcMOsGMiLrQQwNoxfW0lTNMGX96p1i+gi2+G5lC/DiQdo+bbBRy4PiX1VmL8kOK2Q== X-Received: by 2002:a05:6000:2a0e:b0:42c:a506:9dbf with SMTP id ffacd0b85a97d-42ca506a058mr10726960f8f.39.1763567127227; Wed, 19 Nov 2025 07:45:27 -0800 (PST) Received: from eugen-station.. ([82.76.24.202]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53dea1c9sm38765632f8f.0.2025.11.19.07.45.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Nov 2025 07:45:26 -0800 (PST) From: Eugen Hristev To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, tglx@linutronix.de, andersson@kernel.org, pmladek@suse.com, rdunlap@infradead.org, corbet@lwn.net, david@redhat.com, mhocko@suse.com Cc: tudor.ambarus@linaro.org, mukesh.ojha@oss.qualcomm.com, linux-arm-kernel@lists.infradead.org, linux-hardening@vger.kernel.org, jonechou@google.com, rostedt@goodmis.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-arch@vger.kernel.org, tony.luck@intel.com, kees@kernel.org, Eugen Hristev Subject: [PATCH 06/26] timers: Annotate static information into meminspect Date: Wed, 19 Nov 2025 17:44:07 +0200 Message-ID: <20251119154427.1033475-7-eugen.hristev@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251119154427.1033475-1-eugen.hristev@linaro.org> References: <20251119154427.1033475-1-eugen.hristev@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Annotate vital static information into inspection table: - jiffies_64 Information on these variables is stored into dedicated inspection section. Signed-off-by: Eugen Hristev --- kernel/time/timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/time/timer.c b/kernel/time/timer.c index 553fa469d7cc..c6adea734b93 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -44,6 +44,7 @@ #include #include #include +#include =20 #include #include @@ -60,6 +61,7 @@ __visible u64 jiffies_64 __cacheline_aligned_in_smp =3D INITIAL_JIFFIES; =20 EXPORT_SYMBOL(jiffies_64); +MEMINSPECT_SIMPLE_ENTRY(jiffies_64); =20 /* * The timer wheel has LVL_DEPTH array levels. Each level provides an arra= y of --=20 2.43.0