Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1555946rdb; Mon, 8 Jan 2024 03:09:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZADZzjXGVgN0tV7CAuawTqhDznVQKS/yJJ1tTrTV/4GDENySke8NwySEBGhFbEwFM/UUL X-Received: by 2002:a50:ab56:0:b0:555:936e:feb6 with SMTP id t22-20020a50ab56000000b00555936efeb6mr1901310edc.22.1704712183884; Mon, 08 Jan 2024 03:09:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704712183; cv=none; d=google.com; s=arc-20160816; b=NiP96R9kz7ijf8us3c6oa6gIEqaS5tom+mjxjjYCvNJxbXiGxMdS9OGrRLrIIytMtc TN2pNAfOzW5OtFb76QhEWxSEqVEVrINvJeuxmi/Mft8wG+DF+xx+tc3oKA0jlDqVh04R oCDs3y4t8sFVH8om4yUkvwOnm/16LyR6Hsz9aiHYsmgVfGTMjoO/zaYDE1e3+0uRlLeM 4c3bGmpsH6X1324LEcLMFDGTfVCD0NNA6teGX7uW1viMRX9QfE9DSFbsvdhYyvZZK342 aEgBA1RHbBNUE42VrAxPziW5PzC3rQkvNX/6N9YbpRwJOQMzcNlNVn8/3BPSmRxVxLp/ nxiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=cBr54UrbDBqBWO0Zs3pXK4ySEoD4xvWP17nI7TgZkWs=; fh=623IfZ3nVEh1PTcXefU1dUcTOskSt9vjlpYZw2m45UA=; b=Z1EZWwd6QEmrBZoEhEsqfIXw7+dg9yHbsrXs8Tilh4GM8BKsLsjKahLvetxRvJVQME ZOYY+xq9MP09RH+OpI7jS2+8sPMtfVIcnBSQlD+8ij7WQuc9E5fTYZcIe8wvWwqv+Rhy WifyfOB1Ozr6DjIWC+uZ296EEWQAAHrjeq7rqlsewiY8LmaBvn5a0DPKG6H5oARRZwyC r+jMGRwj/w9lJvXQC00SqSDrAA+y+vKS4kCdv51SS/dxo0DRkNyTxIYngDVKMnRo5lf3 T86Q+yMfUlSrCeMZlAZ8CaKH5CKp2XCB+cPrpMP11/fTbc53MQnUhY2OtbK8H4e6IokY pSMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ak7pHqML; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel+bounces-19386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cw10-20020a056402228a00b00556eff8fcbdsi3035311edb.121.2024.01.08.03.09.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 03:09:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ak7pHqML; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel+bounces-19386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19386-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A16521F227B0 for ; Mon, 8 Jan 2024 11:09:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2630614AA8; Mon, 8 Jan 2024 11:09:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ak7pHqML"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ESWjcGtI" X-Original-To: linux-kernel@vger.kernel.org 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 D381A25757; Mon, 8 Jan 2024 11:09:03 +0000 (UTC) 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=1704712141; 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: in-reply-to:in-reply-to:references:references; bh=cBr54UrbDBqBWO0Zs3pXK4ySEoD4xvWP17nI7TgZkWs=; b=ak7pHqML8qBLZvhs66sx1miPuG8E/Vc45gFM5rts0SeNmjy/TrVg2TZRsuWxspA9FdJYpi 2z01rYJyCNj+xhB7CNSEDqTPv7p/PLcrRAKOVnl9MAI0bBZNoB4LvUZ5x5eVQcrhBVlj4L lWtPd4MWz74du1uf920GgapC3KQogwcwDXlugy58fE/pZt47CUqL/uF4p270H3cVwdjaW1 MLisYv6TaIkxzCdSf39pS7rpQXqDdDLOkwvs51x+Vqd0YpmQD0g5Rl72BZJvEip5ubO/Xu UBh6vKy2niM34+L+sLK5IP+hDbNqGjKQaiHRoEJ1c5EXWqfRqdo4OiSdOzSpKw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1704712141; 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: in-reply-to:in-reply-to:references:references; bh=cBr54UrbDBqBWO0Zs3pXK4ySEoD4xvWP17nI7TgZkWs=; b=ESWjcGtI3EVArg1SWAS/o+XnPp8w9CzXgk8/SmWZK+qRnT6dsWhQ6UszStMiCEMnAsMeX8 GvPxy5pAzYjppACg== To: Sagi Maimon , richardcochran@gmail.com, luto@kernel.org, datglx@linutronix.de, 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, maimon.sagi@gmail.com, keescook@chromium.org, legion@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v5] posix-timers: add multi_clock_gettime system call In-Reply-To: <20240102091855.70418-1-maimon.sagi@gmail.com> References: <20240102091855.70418-1-maimon.sagi@gmail.com> Date: Mon, 08 Jan 2024 12:09:00 +0100 Message-ID: <875y04kroz.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 On Tue, Jan 02 2024 at 11:18, Sagi Maimon wrote: > Some user space applications need to read some clocks. > Each read requires moving from user space to kernel space. > The syscall overhead causes unpredictable delay between N clocks reads > Removing this delay causes better synchronization between N clocks. As I explained to you before: This is wishful thinking. There is absolutely no guarantee that the syscall will yield better results. It might on average, but that's a useless measure. You also still fail to explain what this is going to solve and how it's used. > Some user space applications need to read some clocks. Is just not an explanation at all. Thanks, tglx