Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1720014rdb; Thu, 25 Jan 2024 04:21:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuYjxIli5iHUE4i3Ycw5vrib7MQiMib8QmE7CsATV7yEI37D4H/EocFDmZ42tjsoInX+2y X-Received: by 2002:a62:c702:0:b0:6db:d17a:e3ca with SMTP id w2-20020a62c702000000b006dbd17ae3camr388033pfg.63.1706185271003; Thu, 25 Jan 2024 04:21:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706185270; cv=pass; d=google.com; s=arc-20160816; b=wuFYtmD1U/RWMtJ3Q7TgomIdk3bKbLQEm8Tl3hbXj574/dLugMu8TAicuGTYZg+67R 7Ea72XrdiI85Sf/eDSHvtP17eCIAGWT4QJreDUOQMifOZm1dJAJ/E3KxpL5YNsllzi/G 9D0hvybbznsq+vp97iUpy4p1rZ5xLHXflINgE6eWCoP2/qTuNKBTl79wvI5d6X/9H1kS HzhAyAQqmBcFn4YTgBlXqlhccab71ut+F77LDhN9HMhjAkw7cXzhYvbfJzZ9XamPQdCh FKTYL47vZ04GCSscxRmztBgfAOfhHA+g8iltSbSE5O5FU1VIC9dK+PTDWD7o1uSVZtyO NVGA== 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=Bqg+mquOinJ4OKCmburGkNL+d8LFRf+39AvL3I+HFbE=; fh=htb7pDiektYcVoBA1H3rhArYUN8CExI6oV2wMC4MlkM=; b=I/Z5NEDAdc1hDlCietNwm1iTSzoay0nZsvzdLuoU+17qUksnDxVfPUHJ76s4TSKZWh xRa1DwdRhlK8BWWDWGW4XXP+hDrO3oYty4vQpR1/TkJv/2n6zO4G3tyiqNRWh2qzOyiB 9+9Gm7SQcmYGN+MOgkuy/kFcS4uPMovm+Ja24pHjO3KlqhtURwYSTguX2Ps1ZzHmMERm OMrqXHBfipM7umoYfvm9vspGE8eEnYuAgat0FpxbHpz/8jhwlspP7RLsKsDE16V7tC6H E1bOaI00ab+Fwri7f0MpsOsPqN8vJmtfeypZwSqD2gyPB09xIyan8h1MDvdxxeM5AfJu AT5w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ZTecDcXn; 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-38575-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38575-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lp9-20020a056a003d4900b006dd881750d2si3202935pfb.46.2024.01.25.04.21.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 04:21:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38575-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ZTecDcXn; 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-38575-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38575-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A59AC290F9D for ; Thu, 25 Jan 2024 12:21:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AEDF45BF5; Thu, 25 Jan 2024 12:21:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ZTecDcXn"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="4g/Gm7EO" 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 6614A36B10; Thu, 25 Jan 2024 12:21:01 +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=1706185262; cv=none; b=bObCPG4fGgwvNK6+a9FbrV5iOMXS27Xp3aEEoUZhWuNHmceTuDb000YIzu0LFSosIa/OaVyQh4q98xc4uvcLE58NCvGtt5cTm+CnbUaeVUbmd6XBNZ0oLJNQDUvS583dvbPlBd6Upd/eM4jEwBMCPLQJcfnm9aEdYwmrhwxTw3I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706185262; c=relaxed/simple; bh=9hK3wbpzvoGpXxkg63yw+an8DBrzwNCWA2v8juGch3w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=P7zYIWs7umorKGwVT9EbRJ7rHoSwS9cr2ZVkRT1N3jtSFdVujlCQxepVFXGdZTal4bQX3yyiH7s3CL3DZzWVR23BaHMjZeNdwRz9TDqFYNmiTdZMpbKlveDIC/OWce7jYGssIoyDJfvLd3+HvRl8fJrpTgPt4G85Qm/6ZDYed2g= 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=ZTecDcXn; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=4g/Gm7EO; 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: Anna-Maria Behnsen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706185259; 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=Bqg+mquOinJ4OKCmburGkNL+d8LFRf+39AvL3I+HFbE=; b=ZTecDcXnkpjUJQDnAUhCLvwoIDKfhZjVituNSeEyH2tgpXiJMCmX61k2aHHWdRPNXcm7mc vQGvwB33+nck0Ghty9ZxzXdz+QBhmQuk21lNfNE9VyLqGnZ8BtBEYU2I33dbZAFS+2bRdQ 4Do1jSSgUrVx0KtVOtbMDzsDlv0L2qUYtp9EKgXWHFCH+TYVEDfMiCHM8evq5poyU52lg4 Nhm61UR+dwiy9TZzYyeq+lOvuljAxwdzQ9EWr1vbbDQAsvrTUe87nyXrJXCH47+PRnT2IJ zrRD2z3qH5OgM24Rs7WRpHTL652Y+8+s48cuzlIwEfbKgt6hdHl6WaNF6vt0zw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706185259; 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=Bqg+mquOinJ4OKCmburGkNL+d8LFRf+39AvL3I+HFbE=; b=4g/Gm7EOchq4t21bamlUoxE1QxJYdrdK4fkAYJiLriVkwNABnIOh2k1Bf+ITSHCj4nmzrC hQyK0mM4Pom23JAw== To: Thomas Gleixner , 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: <87plxpkesh.ffs@tglx> References: <20240123164702.55612-1-anna-maria@linutronix.de> <20240123164702.55612-2-anna-maria@linutronix.de> <87plxpkesh.ffs@tglx> Date: Thu, 25 Jan 2024 13:20:58 +0100 Message-ID: <87h6j1d2ol.fsf@somnus> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain 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. Thanks, Anna-Maria