From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE360EB64DC for ; Wed, 28 Jun 2023 13:09:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231290AbjF1NJH (ORCPT ); Wed, 28 Jun 2023 09:09:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjF1NJE (ORCPT ); Wed, 28 Jun 2023 09:09:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD1482118 for ; Wed, 28 Jun 2023 06:09:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7027861328 for ; Wed, 28 Jun 2023 13:09:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33EA5C433C0; Wed, 28 Jun 2023 13:09:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687957742; bh=85FtdKdIsbU0gIgDRGh26jmPCHuf4Hh/V1a25xorEFA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HNnS0hRj6a/l1D8+PX9jSiDkxVpQAOez4ziw/2dQy8QloZ3M9kqaWhyuGnQAQDzvR oKUs8pjA5Y81tegFP6PqBZsMv5Ku4cb03LiuJ79yzB2Nka+tOV0gml6qLaqKv3jBU/ yXCgQ5tIGKX0Ydqyw1cd/zbqJ6ejY/cKRoRapZRytv+iozEA1+1UGTfbsSlKN8CMJ9 IuW4vafO/F6VVZZd48vZEt6Syj/6fkmSRx9VBsB+bjSS0ganrC5TFy4BKfaaxgP541 N34yleJB9nlI98lKel4ArtVHyxqF9PaPnz/VQGOImFXgh/BlA2sdekjLVpBg9mRtxy FF+dDhELqs6dg== Date: Wed, 28 Jun 2023 15:08:59 +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 14/45] posix-timers: Consolidate interval retrieval Message-ID: References: <20230606132949.068951363@linutronix.de> <20230606142031.816970056@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230606142031.816970056@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Tue, Jun 06, 2023 at 04:37:40PM +0200, Thomas Gleixner a écrit : > There is no point to collect the current interval in the posix clock > specific settime() and gettime() callbacks. Just do it right in the common > code. > > Signed-off-by: Thomas Gleixner The only difference I see is that we now return the old interval even if the target is reaped, which probably doesn't matter anyway. Reviewed-by: Frederic Weisbecker