Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp697034pxu; Fri, 4 Dec 2020 13:12:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqsxY4ilgsCdMt+zutDKVfDxj9j7NzU+VbYO/36w9dgqdG9FLyzp9hFiJIZFSz2YOwDvCa X-Received: by 2002:aa7:d6d8:: with SMTP id x24mr9614742edr.105.1607116353044; Fri, 04 Dec 2020 13:12:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607116353; cv=none; d=google.com; s=arc-20160816; b=c6Gkh1iWN6gAuGWrGVVQOWAiN8P2r9oC3cFNrne+4zs+6Dl6vgh6/u+quRG//au+wD +EfVLwdC9/YRv9TQoOxYhW5zGJb0XViyg7UnN02sq69AAGJEpB3g7BGKDlCs2COognso FHUi0zvikLSO9LcmqnyfwgpyJ88HYw/ynnY2/xxvC1BM8VjWykHIfDelLb8sEsSMqEfw +57mgzG+1d+x7wd7gWXEkDi0+BkXgG3QnQMeqIi95ww6PqxdU1GPWWbVkz2ivnqQmH13 h2bzIv28Q9GEqLHwhNbMbJGGaD5N9HMylIbyIYxD1IbnTZFSQw6VpRBz86ww792+iIyj hZaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=wN1MZDPo+PRdZbRf2AiQV1temhU20xPUtJVE8trQZXQ=; b=Ij90codMM9zfm6K2mNUGtaieG87R+wyBtQiLzd6yRXuEjCaGfbAdNu2yNs0w4MX4TH 4UgVMzCRmJPA4oDO4eRa/LMR/7gyIhYQZ3U0PzZ+NB2ZOQRr97mRkXQv5x+DyWzFSVCv PGzoG/Mpzt5SnhmbGdPT6y/iP/lifp/tHppoO30FR/oTPKPT75FndxdzeITBDkQ2hB7j WqLhpcyKjluP75xhSghLhMnJBt2SWIL1A1addnsj139FZ7jo0m+XGJGPdMqpZSSQO23f AHzGheEr9bk4eYUAMIYqAJJqmSMjLcRsJMjyOicSU20oBgjc8jplJ3dLa/2rev662qsd oG+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jkmjJcIN; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=HiaJWNHI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cc21si3946875edb.123.2020.12.04.13.12.10; Fri, 04 Dec 2020 13:12:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jkmjJcIN; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=HiaJWNHI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730241AbgLDVIi (ORCPT + 99 others); Fri, 4 Dec 2020 16:08:38 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:49898 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726021AbgLDVIi (ORCPT ); Fri, 4 Dec 2020 16:08:38 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1607116077; 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=wN1MZDPo+PRdZbRf2AiQV1temhU20xPUtJVE8trQZXQ=; b=jkmjJcINw7Az/Atdwe7NmH3KwN+eBIUnQhsDIsD0zVqm+YyqrMGBk3pTQ6TdTDy0mQge6N N3yzkOMBOBngIRoJRLWJz3LmwyK3b6jHGxL8YI8ZYczcywJLrZROr2FcGcQhk5sJgIKQAw Xaj97euSYZ0g2lWXowyMcFglgMT1u4ht9P/TsPmN6KW4k5ahxzL8764gskpIV5Egw/DKUP +kdrN7XpWecLlP8P6EgujMxf9bm87ATmxW6pOgagva6QutAX2edmNJkP7XQkxHMtjNCJJs bRc/pvf2u3A+mSmucERIQmNjww//g0xipjaOu8W4ZuMAb+Sz2aYeCQan9NR8og== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1607116077; 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=wN1MZDPo+PRdZbRf2AiQV1temhU20xPUtJVE8trQZXQ=; b=HiaJWNHIETC47Cx/d9XMobKer8+Vq0uY8/kMLWI3MGP26qkUQ+s6EhKEBM0ARvj3KiZWVk FIwIi4KwGyaCboBQ== To: Balbir Singh , mingo@redhat.com Cc: peterz@infradead.org, linux-kernel@vger.kernel.org, keescook@chromium.org, jpoimboe@redhat.com, tony.luck@intel.com, benh@kernel.crashing.org, x86@kernel.org, dave.hansen@intel.com, thomas.lendacky@amd.com, torvalds@linux-foundation.org, Balbir Singh Subject: Re: [PATCH v3 1/5] x86/mm: change l1d flush runtime prctl behaviour In-Reply-To: <20201127065938.8200-2-sblbir@amazon.com> References: <20201127065938.8200-1-sblbir@amazon.com> <20201127065938.8200-2-sblbir@amazon.com> Date: Fri, 04 Dec 2020 22:07:56 +0100 Message-ID: <87r1o59t5f.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 27 2020 at 17:59, Balbir Singh wrote: > Detection of task affinities at API opt-in time is not the best > approach, the approach is to kill the task if it runs on a > SMT enable core. This is better than not flushing the L1D cache > when the task switches from a non-SMT core to an SMT enabled core. > > Signed-off-by: Balbir Singh > --- > arch/x86/include/asm/processor.h | 2 ++ > arch/x86/kernel/smpboot.c | 11 ++++++++++- > 2 files changed, 12 insertions(+), 1 deletion(-) Subject, changelog match but patch content not so much :)