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 90FEA26B756; Thu, 9 Apr 2026 09:28:54 +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=1775726934; cv=none; b=KmjkqwnGJsx15wQoqJ/fSw6Gb+yNBiDgTGh8CvUQRZARRGRFdLujqrFdAzLp+vVG+b0hIhb8tZNHPb7Hs5J2fXhBAupIYqpHwQLppgQ/KM1Tio99RHd6EykETc8chXmX2BtxbLDXVX76y8dcpz0AOIieyZJ8mp2oyntIFRDOvbo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775726934; c=relaxed/simple; bh=pw5T4JBGbsbSkt/xrLPyKelXMCX6olTcHia+nWsHwYA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gjUxWSZ002tf/4QfFee17ALdZENqciChlJ03ZIQRVsdeKhhAHpV1ojF1xLLHV2TITefkwfOMywCLZd29utbn6ct8FGkak7zUKwZLe2ArT1iN57zqV2fQPLgreG5e+b+moY78yFCImedazHIWPeQfOSaX+4Uf22uQwHvEIKWdYpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=koYYWLOz; 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="koYYWLOz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8B88C4CEF7; Thu, 9 Apr 2026 09:28:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775726934; bh=pw5T4JBGbsbSkt/xrLPyKelXMCX6olTcHia+nWsHwYA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=koYYWLOzKEPUaSUP/n7tk4wnHpXA7zuFbzgpFTspYbMgHzNddcZpW0H4fRqx1+qfX u9LX7VKiBNST88QOl4kb61QJenH0h6L0RA41jv95PIygnZGxglVnxbZAzQ7qOxcAqC W3N7hxdmpJ21paC/ja5Hif9HzuJXl47rPGdBvKsp/xf7+tAezzRMKrEnzdPR9JFAdl i4rZSWxL1+9XexNXBF/epY2vXluwWEzCUhZRPIaEfqMsqXnO1jbgaK2TFj3JpxWNyj jtjM/mN3Gge1FFWG64lp/j9zvElOvjPbjyZfdnMe67eaZaNaKobAuZVP4aHDEbDONM yYbmY0Qmaz+AA== Date: Thu, 9 Apr 2026 11:28:51 +0200 From: Frederic Weisbecker To: Thomas Gleixner Cc: LKML , "Peter Zijlstra (Intel)" , John Stultz , Stephen Boyd , Anna-Maria Behnsen , Calvin Owens , Alexander Viro , Christian Brauner , Jan Kara , linux-fsdevel@vger.kernel.org, Sebastian Reichel , linux-pm@vger.kernel.org, Pablo Neira Ayuso , Florian Westphal , Phil Sutter , netfilter-devel@vger.kernel.org, coreteam@netfilter.org Subject: Re: [patch V2 03/11] posix-timers: Expand timer_[re]arm() callbacks with a boolean return value Message-ID: References: <20260408102356.783133335@kernel.org> <20260408114952.130222296@kernel.org> Precedence: bulk X-Mailing-List: linux-pm@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: <20260408114952.130222296@kernel.org> Le Wed, Apr 08, 2026 at 01:53:56PM +0200, Thomas Gleixner a écrit : > In order to catch expiry times which are already in the past the > timer_arm() and timer_rearm() callbacks need to be able to report back to > the caller whether the timer has been queued or not. > > Change the function signature and let all implementations return true for > now. While at it simplify posix_cpu_timer_rearm(). > > No functional change intended. > > Signed-off-by: Thomas Gleixner > Acked-by: Peter Zijlstra (Intel) > Acked-by: John Stultz > Cc: Stephen Boyd > Cc: Anna-Maria Behnsen > Cc: Frederic Weisbecker Reviewed-by: Frederic Weisbecker -- Frederic Weisbecker SUSE Labs