Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1761685rdb; Thu, 25 Jan 2024 05:35:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyLFHlFoWJkEPPQSVQXwxmk1F+1gcQtl+XdOW6ihTzAdFyH+WXlA13D/WnDfhnW4HDyZkg X-Received: by 2002:a05:620a:b12:b0:783:841e:2b76 with SMTP id t18-20020a05620a0b1200b00783841e2b76mr1150886qkg.32.1706189700606; Thu, 25 Jan 2024 05:35:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706189700; cv=pass; d=google.com; s=arc-20160816; b=I1ZfgEGMYTA7emBtV7XI8JQptJT8IveLlmz864gxoYcbqCrfC8HnpTy9g7htT1Vvmo WbdXZPgtRYQ+Lb9gRtg91qObXFqD8uVCSzRZx32+/Iw+TvoyDkal2jQMAF5IZMel7FNR Wbt6PuLzJgvGWT+r8WTcGEl7ZE4TMdFLB/m0e9OoOrmDvUiUCn93FO/agt0lCZKa/vKO HZ0Gw2KQlzwXD9f2zW0hNg5KW0pJQ9+i+hTpk1Bd+stvvfNP42amhenM0/1sWIQjm/zh r/oO+LYXUt7+AfXoN3g+zYK9Rle4BLqKElX7HzaMJoYiteAw5txA2XrEvm+ckGmb9jNF OWHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=fodR/wINVlR/J76ojNUVdVoAQKjYqindKu3aLYvmAQE=; fh=DyPUQ7BuL/CdUpLJrTsbQ3sdT33nnMVMwCWoIfCscSk=; b=m3tqd2+67L94ET5JoooqhLCochGoWNWf+87E9WVkFMOVayzB544f6Aekr4bhvgnbsP d2kXzPgg3zwBVJqNtCh2hyQg1LFnTInziJyyB1VSNGtvL2VzIEKdNwIOdU6Le5MrKmHg flyJF9vz2YYWqKn515sBLzD4HJfPWdpk+S16clRB/PuzXPzMVZgX07rbS7mwNM5+7YaU tt9sQIxxEyetgasiCCdCqD1OhjdT4bnRJb/4p7nml+cYPvnbxFfhXfY+0ln0u01YiwGt 4MaE6QQhBB2zC/OnqutX56qc5OkzmbYn6SvtNZ7wlI1kiukYxwOvFn34quo1+FI39wdF 8pgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="KU6f/2uy"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38658-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b15-20020a05620a04ef00b00783648556a8si12634448qkh.662.2024.01.25.05.35.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:35:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38658-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="KU6f/2uy"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38658-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 589CE1C2376E for ; Thu, 25 Jan 2024 13:35:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 625C755C37; Thu, 25 Jan 2024 13:34:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="KU6f/2uy"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="jV7+hHCL" 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 3FF1C55C07; Thu, 25 Jan 2024 13:34:49 +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=1706189691; cv=none; b=iZWrAwnh8JFS8ksoOB1LNYKAccCv02lEF0eqQsVv669lGUnVLEJxzrgjyC1KfLTVOIM4iOAdTvSdFXO5XA5wDM3/p8EJwUysryCGNqQhIJc8F7CKapW1jaJ2JIPG8gpEcaDxtz/tuq9xOOBcrxo1JxYsuhR5oyQgBDEeFY0t2FQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706189691; c=relaxed/simple; bh=fodR/wINVlR/J76ojNUVdVoAQKjYqindKu3aLYvmAQE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=KkNHgoRWrLNnkFbwrbMhbMO8ONgHnjNvChq9l7u/80KKfo3wTUJCcXwKE6uTaTvHCPdlkBJdRwR12fJkimtR3fwDafXryX8r0UVFT7EcWFwD3U6nFU8zU2446m4oS9iPuaLiXEj8A7kjAxbsWUdfbC4dWx8Y0N8TUHH6PjMeKGU= 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=KU6f/2uy; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=jV7+hHCL; 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 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706189688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fodR/wINVlR/J76ojNUVdVoAQKjYqindKu3aLYvmAQE=; b=KU6f/2uyUXAUz+h3s3pzDn1XEn+eXpn90a2OkdCm80BAy9R8NZbDulD0vKUYbpAawnZroV YS8Ft2RGpcCqI1+9kZniuiWa03AXNVG/aaxTZREMeK20fvuBjwiogZDQrTADUVRh8664ex qOYV5F2Xl2OTl0DBE7WNHmdy0T6/7r77jtaqSNRqrEDBVQQ1ZHO/ai9+zYr4EHppUXd56D eBQe2VTUlgesOW4puavhdVuHjAtabWAwSVOITklvHsp67ovn31h1xfGCun1gw0oWTCo4FI YhF4o/jYOQXl09tb1q3heof8RN07k3Ff53x1GIB2fWaPtKaAKJ/XiAb5ZO/leQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706189688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fodR/wINVlR/J76ojNUVdVoAQKjYqindKu3aLYvmAQE=; b=jV7+hHCLc99hIZ63WCMbdZMBFzVMNrTFbamWq4pZfZesYTsw0CyCHk0jXsLit6VG+ZNFPH K59kafS6CNlQA/DA== To: Anna-Maria Behnsen , linux-kernel@vger.kernel.org Cc: Frederic Weisbecker , Ingo Molnar , John Stultz , Stephen Boyd , Jonathan Corbet , Clemens Ladisch , linux-doc@vger.kernel.org Subject: Re: [PATCH 1/8] include/hrtimers: Move hrtimer base related definitions into hrtimer_defs In-Reply-To: <87h6j1d2ol.fsf@somnus> References: <20240123164702.55612-1-anna-maria@linutronix.de> <20240123164702.55612-2-anna-maria@linutronix.de> <87plxpkesh.ffs@tglx> <87h6j1d2ol.fsf@somnus> Date: Thu, 25 Jan 2024 14:34:47 +0100 Message-ID: <87wmrxh6yw.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, Jan 25 2024 at 13:20, Anna-Maria Behnsen wrote: > Thomas Gleixner writes: > >> On Tue, Jan 23 2024 at 17:46, Anna-Maria Behnsen wrote: >>> hrtimer base related struct definitions are part of hrtimers.h as it is >>> required there. With this, also the struct documentation which is for core >>> code internal use, is exposed into the general api. To prevent this, all >>> core internal definitions and the related includes are moved into >>> hrtimer_defs header file. >> >> Shouldn't this simply move to kernel/time/... ? Nothing outside of it >> needs hrtimer_base > > hrtimer_expires_remaining() which is defined in include/hrtimer.h > dereferences hrtimer_clock_base; hrtimer_is_hres_active() also defined > in include/hrtimer.h needs hrtimer_base. Duh, yes.