Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2369114lqz; Tue, 2 Apr 2024 15:44:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV97knDp9gocuXY8VeAqSn2NcnH0JUECdsX2b9QxJtZVb5KAeyEygdepgpsnvCPZF9Qe1qIVIXVJCSjjk54oeZfkzfkvP7lOqVHNUsr0w== X-Google-Smtp-Source: AGHT+IF2uTaSIoY3Z08trrGBwBj+WOaRpAkNcApEJdfKp+8xPxxBdaEh76RDVsuBYixr90DoKHYY X-Received: by 2002:a05:6358:3220:b0:183:d6a5:2dba with SMTP id a32-20020a056358322000b00183d6a52dbamr1012231rwe.29.1712097847839; Tue, 02 Apr 2024 15:44:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712097847; cv=pass; d=google.com; s=arc-20160816; b=y8Z2ahGJ8tRPgOSsH4brqG4Jvl0ssA3NadoB1SC4Nopfmj3EPCkd/GNZFS+p6Mf4Yy 0JEILqII88ucw5sDk32YJ3MQTrXQ+ERoyDMobT78ZG+uX5I9ecuq9TdiLcu2ayqA3TqF mDfjMbqGsQJWLBmdtN4lhQUdTX/3SCL5MB39w7sTM5Wx3atO6THhYLBJPJzBlj5JIOjF GeqBW0Ltn4uQ2DRJf0vWWeiEFFvl1n6qvoHw+Hg8cKH1hGRQZZnjGPIKHtYsGD3sLbYr YJ3s5NAmMUXWBA8/4Mw5D4GAFkk+B9FgNkFCK/yPLDLVurSabWARkdDsAaFpRMoZ+upB 4Dog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding: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=clN786LC8NAM+WdiMM9dgE3xxt8pA/vNnE2Z1vIrTT0=; fh=gFJ9guboxaM1F8e+eYVaq4a30yzb0XAuMgxNzrx7mY8=; b=U8AMg0SRc8jDfqBHe1PAZNamSfAouTY4RX/11ozSko+JejT2wJkKfH0kWO0TtuUoJo ZOsOnTCGPQY6C2BdOgWvoUdsU/Fm2Oijw5BoCx/heqrWX4MnAj5apUVU7hWUEI48ELi8 2yj64mjd23cf7Vth7Xq2gkRey0+oiQTU3bqSneWQnklfglmDCsC2xoDqSzmjpDSHrZ5J pEI2lK8U6HrDDHtspo22rDQ6cuc6xkq7tFWsUoZtNhv8KFqsmrvcIGE3dIl7Wvm8MSWh 1Vzqe89fHEm5BPfiy3LTiDw1cvxz+uUZCRtYl80BwOIZG+2UUwOTajOPF39/0BXaU98k qxfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="y8gs3/kN"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="/S3kigRc"; 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-128795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h22-20020a63e156000000b005c661524f67si11696785pgk.26.2024.04.02.15.44.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 15:44:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="y8gs3/kN"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="/S3kigRc"; 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-128795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128795-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4C372B25258 for ; Tue, 2 Apr 2024 22:37:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F03C266A7; Tue, 2 Apr 2024 22:37:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="y8gs3/kN"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="/S3kigRc" 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 1D22F1D6AE; Tue, 2 Apr 2024 22:37:30 +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=1712097452; cv=none; b=W10TqsaPvy5VnnlmThzMZBeFgxDZOjLBb3GGNNh17bIpp2lcCYgQVV/Ny27yjt1URfxO0PVhgRDAa3lW1Rzk3RPUEvLnRmFCrP+NWTS/GlnUozRTu7bf0MwzlT9Q8uDI0/CULHYDoe0RGFSy6GEw5PqJgZ4ULQXqg6M/1BFhu7o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712097452; c=relaxed/simple; bh=RTJ4TUWlWWd2tTYwH9K2+rCPELvAiNcHn8N7wtsQdE4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=uGv4B2I9IO7Vu7D2acS2jIBX/gxlkKM4ATuqG+QfjxQjmx/2Pht0zs2TkEkZUIX/lnkI30+++eVc1mZD0VJ0Gk7auouuAUcs6wVE3Iqfs0OPjkwcKfr+msubxKZqnG2ro6pMSSxTJm048CRtQer5Ay8E8FlJeUQnwMF8Kbte+1I= 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=y8gs3/kN; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=/S3kigRc; 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: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712097449; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=clN786LC8NAM+WdiMM9dgE3xxt8pA/vNnE2Z1vIrTT0=; b=y8gs3/kNhqVMDT69laurybXNrUUQLXSrWBlCfk7pYoQcD7sK8QMi2tcLxZzkUPDz1X8GFu rDsIpWZ0dnEQluAc24xXlL4OxvWeX0lwaDKuqO838hTIEmqov7noMajRVkE4KsmiJRAFsQ 3vsSR5JyyO2QIU4l+hPyGZvLBGQ96v5jvXV9Sh2ifVY5GBGOQaIHT3bmPElkDDpBp7Nr3v ou/q6j9YcqJz8Gz30kQRCGPebZaTDn7VkUNbbI+KO5BTEDOOP2q3L7BLEWF1I1ZZ1YOXaG C79sLoWN91aYOfwqYOMJ0rCrI198o5Dd+BP7sBJx9J4T5MaI6XiMi2qXJC8CcQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712097449; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=clN786LC8NAM+WdiMM9dgE3xxt8pA/vNnE2Z1vIrTT0=; b=/S3kigRc0yKHbucTfmxketx4NbcQwgEjHo9AEoMAW71rZkqIq1rlQldWDmbV8LlyBHHCAK 2c+UPz+ei3Kc93DA== To: =?utf-8?B?TWFoZXNoIEJhbmRld2FyICjgpK7gpLngpYfgpLYg4KSs4KSC4KSh4KWH4KS1?= =?utf-8?B?4KS+4KSwKQ==?= Cc: Sagi Maimon , richardcochran@gmail.com, luto@kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, arnd@arndb.de, geert@linux-m68k.org, peterz@infradead.org, hannes@cmpxchg.org, sohil.mehta@intel.com, rick.p.edgecombe@intel.com, nphamcs@gmail.com, palmer@sifive.com, keescook@chromium.org, legion@kernel.org, mark.rutland@arm.com, mszeredi@redhat.com, casey@schaufler-ca.com, reibax@gmail.com, davem@davemloft.net, brauner@kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v7] posix-timers: add clock_compare system call In-Reply-To: References: <878r29hjds.ffs@tglx> <87o7asdd65.ffs@tglx> <87il10ce1g.ffs@tglx> Date: Wed, 03 Apr 2024 00:37:28 +0200 Message-ID: <877chfcrx3.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=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Apr 02 2024 at 14:16, Mahesh Bandewar (=E0=A4=AE=E0=A4=B9=E0=A5=87= =E0=A4=B6 =E0=A4=AC=E0=A4=82=E0=A4=A1=E0=A5=87=E0=A4=B5=E0=A4=BE=E0=A4=B0) = wrote: > On Tue, Apr 2, 2024 at 2:25=E2=80=AFAM Thomas Gleixner wrote: >> Works as well. I'm not seing the point for CLOCK_MONOTONIC and the >> change logs are not really telling anything about the problem being >> solved.... >> > https://lore.kernel.org/lkml/20240104212431.3275688-1-maheshb@google.com/= T/#:~:text=3D*%20[PATCHv3%20net%2Dnext%200/3]%20add%20ptp_gettimex64any()%2= 0API,21:24%20Mahesh%20Bandewar%200%20siblings%2C%200%20replies; > > This is the cover letter where I tried to explain the need for this. The justification for a patch needs to be in the change log and not in the cover letter because the cover letter is not part of the git history. > Granted, my current use case is for CLOCK_MONOTONIC_RAW but just > because I don't have a use case doesn't mean someone else may not have > it and hence added it. Then why did you not five other clock IDs? Someone else might have a use case, no? While a syscall/ioctl should be flexible for future use, the kernel does not add features just because there might be some use case. It's documented how this works. Thanks, tglx