Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp944064lqb; Wed, 17 Apr 2024 16:04:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhKqsoY+Fkdf5SNo4r2AmBijuJqscad0nqG8AS/taihvEWRcmQMJN7qPalv8aqWu/N17u6vdzo00ZERINO7dIVrEMEcjK0CTAp/EQ/Mw== X-Google-Smtp-Source: AGHT+IFqeX4BUQl0S57FvnADPBJBKtCME2YznCijFfi/LBmNS9l365jXzg8TjISE4m0yKL2VE0tu X-Received: by 2002:a05:6808:1490:b0:3c7:11f3:ba7f with SMTP id e16-20020a056808149000b003c711f3ba7fmr1285233oiw.39.1713395060698; Wed, 17 Apr 2024 16:04:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713395060; cv=pass; d=google.com; s=arc-20160816; b=to3vRt/QliCJ3nXInovCrWn5wqMvGT/YMzCN/A7Q9IoKpQqUknLhNaJgVDVqvyDd42 OFnVr4EtKJPQ6sG0zBQQ8arC6NGci+tyHj+vQn7oAHbUBuQlnsaMFyyvYTuRVVasp5VQ ZLsJGJZAZSA/CO2679LbXgrCJBHI4/uf9bd8n5NnfFuYOjedl1WQplU7ORdsCoaj/3VJ cZYcOfYR2FINU0gOMv8X6Ym7t1r9GQyL04bsMu4v/Mm37eDIy4Gr/xbUzyChnD/yk5ri iKB/arnQ7PPToy9ZMCbViD2k6zZFL01sPGqRkvien42IpyBZFRpEN+KHp4KlfqHdMkHD qoqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+E3CnSHYosndDrz4EBuGCXhps1afHU7p4p99ja5LyeQ=; fh=u+2Ft2z/20S552X8nQ75paLeC13PBKX4joljy3cujYc=; b=BV7vuyVUccDONaKqmFKaiZabqu8Wq4LN1fhSPH0vNIM7IPK4QfpXMkEia1t1pF2LMm imitkkTEzoxn3jb7qm55X1liFVvukHnwVguyS96+v9N4fvSo5Zsolfdfk4yqA18b5nze FWeFtCaIWw9TGnJlVV4CFxANhF8DsI0uHyWWuXOckA3YPYczm0cGlBnzMuCGzxcXrIod aEnHXUBNiz2uDTl3JLz0nh3gDcm72EI+2vMcUTlYoCrmjSZnwW8uaFFY/gv825EQtWSp aao/Sqeh+Vehb1yLtUdmpjTte3lolHGHHbWvn0T9khyjmHGH0WLsmB2X/75PBuBYqlf+ hOiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Gh8Pg/tz"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-149299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t8-20020a05622a180800b0043652487f9bsi220463qtc.748.2024.04.17.16.04.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 16:04:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Gh8Pg/tz"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-149299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 67F6B1C20B41 for ; Wed, 17 Apr 2024 23:04:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAE0385272; Wed, 17 Apr 2024 23:04:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Gh8Pg/tz" 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 F272B84FB1 for ; Wed, 17 Apr 2024 23:04:14 +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=1713395055; cv=none; b=a+OsmtUifXcWneFzWxGRMByHI6hTYkAL3sa+tlhjtQRdQuSSs9dAWYjZ0ry/+luOzq8a3YYGKkPleTEgEB85QKBgQzsPyv8KdRxGOeQHAm51v1pYT5Y/oVAFZK73tAwpMdLXyr0Imd8pYzBNE/Vr5JOhZ0tmuQLuB98LdHLEHdU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713395055; c=relaxed/simple; bh=SY67Ye4fXpcxOTsqzg1ms9haefD+0Alokfj1Tuddqd8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=crrfBiFBlOy5z/mmJHRKm9i/0FyVBcCRjAjepjMI2kAV5mxtGVAijDqxoqYNM3gvtUkQxiySDgl2BZI0gbG7/Oe0H8VrhY0tNM8X6LUr6MkxCGxBp5Xeknba9q/SWOOgRSd+LJMFI+uTA9qeYKSvmVGOoLZGXDLmZukabA1bz9M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Gh8Pg/tz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F5FCC072AA; Wed, 17 Apr 2024 23:04:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713395054; bh=SY67Ye4fXpcxOTsqzg1ms9haefD+0Alokfj1Tuddqd8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gh8Pg/tzqB5Boyp4lpwLS/UpIkGzHeX9g8VbuspPSQPEISNFPLBgc1DONIA9hhU+P mUnojip8XGey8tnpl7OPy1s+xhstbB/mnoy5/xLr1Z6vZwKZJgfSJ9+5gU5FVWubQg Hnzh50TUvTPv3korqHoNKY1id/L4UiI2yTkzLXXtAruHaiR9ZHKonUP2HE2cRpO1p1 8In6ZUjZQsPI0ZV3F+hh9+XlfIJ5wfWcUmQth6uh3lfhKWfzeOkASnFzOzACeNOo/K QC/n8Et2nU+T6WHjN4WTkB8tOKsbkOS+3NNSWDiyAGTjv0rwfXBLmJ9RC52p6IvX5p 4iAPYk28gPDVA== Date: Thu, 18 Apr 2024 01:04:11 +0200 From: Frederic Weisbecker To: Thomas Gleixner Cc: Anna-Maria Behnsen , LKML , John Stultz , Peter Zijlstra , Ingo Molnar , Stephen Boyd , Eric Biederman , Oleg Nesterov Subject: Re: [patch V2 11/50] posix-cpu-timers: Handle SIGEV_NONE timers correctly in timer_set() Message-ID: References: <20240410164558.316665885@linutronix.de> <20240410165551.635345704@linutronix.de> <8734rrvr1p.fsf@somnus> <87zftzzhfv.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; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87zftzzhfv.ffs@tglx> Le Fri, Apr 12, 2024 at 12:02:28AM +0200, Thomas Gleixner a ?crit : > On Thu, Apr 11 2024 at 17:48, Anna-Maria Behnsen wrote: > > > Thomas Gleixner writes: > > > >> Expired SIGEV_NONE oneshot timers must return 0 nsec for the expiry time in > >> timer_get(), but the posix CPU timer implementation returns 1 nsec. > > > > copy paste error (get/set) ? > > Yes. > > >> Add the missing conditional. > >> > >> This will be cleaned up in a follow up patch. > > > > I'm confused. Why do you want to cleanup the conditional in a follow up > > patch? > > This patch is to fix the issue. The next one consolidates the code, but > I can see why the "this will be ..." part of the changelog does not make > sense. But please keep it cut that way. FWIW it's much easier to review than the previous take. That way we aren't missing subtle changes.