Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp305490lqp; Mon, 10 Jun 2024 05:02:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAdeYudElSADJvthzDlgqvqtXAyPwVIkSEPt1FxDWbmd/h5Hi911ERfJDr/KM5OTt4P9WGqtPd3BdJfgHaUAtiEgelSaIsZIdjzCDUMQ== X-Google-Smtp-Source: AGHT+IGScCSAG1+cVYx93CJDsS1MCkzUACdfLf38UgUokhW+I3eIccZn2gyeo1R/YHRDLy6XPYuX X-Received: by 2002:a05:620a:198c:b0:795:494c:4a9e with SMTP id af79cd13be357-795494c4c13mr795069685a.62.1718020961248; Mon, 10 Jun 2024 05:02:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718020961; cv=pass; d=google.com; s=arc-20160816; b=S/+5P7xHSR3B+qX28Nzjm7WE9hd3QoUy3l3TwWlN+rC83Ke947B3/lg9TgsH3RqSYP WTMH3U5nFOXbQ6knffzXfhhdeZNPhnvO8DM0pU0AkeJIcrBammQGlj0o17Ha5XyhXyY7 6jVBiRP5Zk4Km/1FoJQFFwafuflYzPrwgLvlvrem1cDeeetyMfv93at6RQ89ppIqB17v HuuVtfGaXsw9QGwD1BzeORRah3CmW9ZDDPWefKuJ50qMKQ3SfnLuuTOQDDB/iMCzk7ka HMS+UKJ+TQMlZ5gKH3Ffoh8uKZEm/w80m3uJn8Ok1AcJkwXMbm/GS274uAvd8aeh0K79 xsZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9D2NgyETvv37X/hQRiarv/um1ZsdxfH4XDt4fWkegpw=; fh=F0XJ5BNY9kmWctB3XnZ2mQcyLuEj6WsK5S34ayQ8mz4=; b=OmcfqoaCDA8obDgcwLm77+sLSjWSSYxerhUmolFrPXQVXwlKG5DNYibIRDBd/HiqQX cWt4sD/B2ye1XhnnG66WNU256N3l6dCOuYfEgR4u3YYBH6BC6+IuK5eNjcHISKSi6hUZ 4cnkS9EnxMpEs/mNRuDm1O8j3fBn0v1TgNL/t5bbAaHFilaxzGDZDHN1D0OAiDOibz9q 8OBcODW3JzBB0gGj0cpwRNK8l/KvPGw8fphD5e3Qq/PBkgnSswH4eRJxWK83ORn92zaH SDDWSeWDylhqhqxXvsd2iit49irzIKodCcseMsJinl7/QsZV7NJE+e7XeCJ9kc3w/iLY 5m5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=IkCordgv; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-208126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-79788ea9e36si124926485a.469.2024.06.10.05.02.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 05:02:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208126-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=@alien8.de header.s=alien8 header.b=IkCordgv; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-208126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EEA611C21C81 for ; Mon, 10 Jun 2024 12:02:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E06E978C9C; Mon, 10 Jun 2024 12:02:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="IkCordgv" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 C66857E57F; Mon, 10 Jun 2024 12:02:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718020947; cv=none; b=IKQgj+p7aOCZN1yTpPCuLt/NFAiMk0Ti6wcG2Hy7f3LqCgU0CiZocyrdFgT3E7Zg1WKkWbuZiG+LaNBoRl0Dj9c5kgwnT+2cqlv1lSDqp4v01cOfGGgJfkvwsrZrzgOnTxLJ7GXGG0JRHgFAYFXqMOXjfLlGVxCMTPWGvGBQtcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718020947; c=relaxed/simple; bh=mSI2GkQiEehtcMLiBemrZZsh3jiufORHwzXS/bc2ccE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kWsdPyBj5gKnn/KwH5ljH01I5lT1v/r4AwFhqwgWaJT6t+lw52wYXZeItM73YeMz/E4pbCFM5Xd9FePLjbJVP7x0T00HQr7uda7OboSUxOEN4KuJZup3TBoQQAhDyfJ54FvCWXj2OQ9nPm7j6Dr9nrN1TtUEomk0ApMl9zC/JZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=IkCordgv; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 1C1BC40E0081; Mon, 10 Jun 2024 12:02:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RF8ODJfr34d4; Mon, 10 Jun 2024 12:02:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1718020936; bh=9D2NgyETvv37X/hQRiarv/um1ZsdxfH4XDt4fWkegpw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IkCordgvTM7q3C8M+2HF+KQNL+uZUDK6y2hCj+FjFyhEFMjqNa7P4IU4jZHhzMNRb MipNcb7Z+HlhnYbrhdepdH2S7OxBIl/FQKJkInDxF+7lIGY9gdTkGihaSTTgsUITVt 6VHQLTk1WgTG1rL8i5GedzAY8za0Q9t9baqIuDRrGzmgt4o4D6/0X56SvdwVkXDg0D W7xdnSuZmLmlARmif6m3BkWvbKRiEQ/WB4tsNO2eVU0tEWOw8Bgh+x30JFm6PcIKgl 4kRwiIisInmsk5ttd1T14whX5XnuXzAbSJDQvH2HmV+QeIufPFuwxFvY/NbVp17prW u8WYl9D479uXIH+ghSE4R4QawT/FnKPLIfYfl6eaNP9VwGCOId2o8DPCZ+HN3ZrQpq TcwXLW98PB5mi0DfO9yhne+b9a6K2qs3p1ixaVdqd81PdDtmxIdgzqEAES03fj79T7 c+1VRDJJLEN16TPs8YK+szEysL0hctoc8bVUbomFiEQ7ETxsS2GUj3XApeQrdVlAev oMibuzFcGIXZ/K3VRzkJ7jzzI3zi1mcIXN42dkWTEOXOMRM+jt4mUO4+yRptdRxWGD aQfl2qFtabMmnyJ2a6pnZCPN5ZTicGCRx+6EwEPuwpHkWzyhA1GCf+65fm+8e2xSQQ LjbaHVuEeh6tFF3uz/YCdWys= Received: from zn.tnic (p5de8ee85.dip0.t-ipconnect.de [93.232.238.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id BB89940E016A; Mon, 10 Jun 2024 12:02:06 +0000 (UTC) Date: Mon, 10 Jun 2024 14:02:01 +0200 From: Borislav Petkov To: Peter Zijlstra Cc: Linus Torvalds , Peter Anvin , Ingo Molnar , Thomas Gleixner , Rasmus Villemoes , Josh Poimboeuf , Linux Kernel Mailing List , the arch/x86 maintainers , linux-arch Subject: Re: [PATCH] x86: add 'runtime constant' infrastructure Message-ID: <20240610120201.GAZmbrOYmcA21kD8NB@fat_crate.local> References: <20240608193504.429644-2-torvalds@linux-foundation.org> <20240610104352.GT8774@noisy.programming.kicks-ass.net> 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-Disposition: inline In-Reply-To: <20240610104352.GT8774@noisy.programming.kicks-ass.net> On Mon, Jun 10, 2024 at 12:43:52PM +0200, Peter Zijlstra wrote: > Yes, the approach is super simple and straight forward, but imagine > there being like a 100 symbols soon :/ I think we should accept patches using this only when there really is a good, perf reason for doing so. Not "I wanna use this fance shite in my new driver just because...". -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette