From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 94D1B149C6E for ; Tue, 25 Jun 2024 22:36:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719355013; cv=none; b=GOQoiacdk7PGbnEOL4wSlKpUWUpMrPRxE9bU1RpuhMBOx5hnzKcQBF35dHtzLppDt6lblr8pUN1ZSs1EI/wfvsQPFShuHLhpFq3bpud/Wim6SMw+uNPnprLm5dBsCXZMBTzO9ZBfWk55b0iQdFb+PLCFVnCcvyIIt2OidkWjWQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719355013; c=relaxed/simple; bh=V/yWMHliahuKyTKYbyYrNVisnOUTuFBEFP85pVG5mIc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZE8J/FM+r7FZT3tPCWSvmZc9X7p7YY/EscI9/sHNi+hW7H/Bf6w0VQ7szYmxgnlsS0xVsxzoboToB1/5mbgXsNFbb4CCEoOrQYvx9mzg7wLjIS2s0IWilfRkZFEdF6tE6AKLNUFPzFq7xN1KkIscS3LO8mrZWMS86LjKtk1sI90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lENp0ou5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lENp0ou5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D779CC32781; Tue, 25 Jun 2024 22:36:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719355013; bh=V/yWMHliahuKyTKYbyYrNVisnOUTuFBEFP85pVG5mIc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lENp0ou5RpmZOfDoFPybEZZDUPB8irVL2ihkjundcI7BqA8OxMLPljG3dWryce5l4 Hn3F0evj60plagavBW0bDu1KuiDTwi9nQUPrt3rYN3rWx/CzT7+fRwX371EkmPch7b CK4QwkhJYVwBUzzBWkp4A20X7lWXVgQS+wJCaB9xu6IJ6lUzTuGbmeI9y249UEWaXt pMU4GIbl4jvTqpoQuAX2sdvtcydhMmdMaugIjt1B/pst8jvhfPGmuPoSE+mv2LnajG ByJ+O1yQm2sBMIx5RVQxDM42kHfTBlUuk93zC60EicsURd3wZpj/wL23ltJGHIdhfn ki+kTVdjijxrg== Date: Wed, 26 Jun 2024 00:36:50 +0200 From: Frederic Weisbecker To: Thomas Gleixner Cc: LKML , Anna-Maria Behnsen , John Stultz , Peter Zijlstra , Ingo Molnar , Stephen Boyd , Eric Biederman , Oleg Nesterov Subject: Re: [patch V3 21/51] posix-cpu-timers: Make k_itimer::it_active consistent Message-ID: References: <20240610163452.591699700@linutronix.de> <20240610164026.806827615@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240610164026.806827615@linutronix.de> Le Mon, Jun 10, 2024 at 06:42:31PM +0200, Thomas Gleixner a écrit : > Posix CPU timers are not updating k_itimer::it_active which makes it > impossible to base decisions in the common posix timer code on it. > > Update it when queueing or dequeueing posix CPU timers. > > Signed-off-by: Thomas Gleixner Reviewed-by: Frederic Weisbecker