Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp882496pxy; Wed, 5 May 2021 16:52:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoz9+0VP9V9mLkbMaGH7OPx7T61EXwytCmuXbhvLetH/qP3Dei7Bum5qDZlfXba2gZZ6uV X-Received: by 2002:a17:906:2482:: with SMTP id e2mr1314473ejb.212.1620258774107; Wed, 05 May 2021 16:52:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620258774; cv=none; d=google.com; s=arc-20160816; b=wWCEOssv2qFs1Ydk4efpYeLmXoFCLQV7mZC9TtLu/IjIESMOM2DadG5PuJekslJYfJ DSD72KRCNhbKzNggqygShMMBeNrSG4sNaZVM167GAYuT4eVgBWy1jQZ+DzekIPmmkjJA VaHRA981argoD3TtRYCMntmCzYWbALZ9zXsUCJMYnpZhp5c1jYvMOB+J3racHaHxzGd5 SJZk7D66oBeGNT4j05zYrO3bilSGaCOqmlJ794M37JCXAot6jJVCLo6f/NfqQYR6oXtL wilPkXPILHOVXk2FVBk9BM/n+XlBVh0VgwjDuHGW7mUuYFlZp0COZtoSYuZLCj01nhT4 W+9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=pc45n/BWF7lDKLmoC8+fLn/BhW3jQ7nH+5jK1B5rYNU=; b=0EQhl0Ejb/QGUnxp21emFo3Pd82oEB1de4/1khy9YvZAvhFhlOduW1eCWdSgLNbJd+ FaqunB3KFoJ5b1CkCeCe1oyMKFdkxtdRheFXhjCKwd1GcmLX749sGWcs8N2JiiMzMcXa KcNOcXvpiScle6PK8eEftckTwcITkPZoXtntkXhwdkiuoqNAFLjTBABY+1+CnV+6HoSF zwxQHfYgGU6nh+SW6G4uuTsoPt5C1B9BtuWOoqNK/eMr/8jt4cklQ6UqfHcDQjdGWwXA 7bSP3dOxp1fVJb9XzX59ie4mQ7KThBH0KU5QhSClMuZgT+3Ll1EQu6JQIIIDaEHNpem2 6bQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@polymtl.ca header.s=default header.b=nuaN8LfF; 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=QUARANTINE sp=NONE dis=NONE) header.from=polymtl.ca Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si706476edo.583.2021.05.05.16.52.30; Wed, 05 May 2021 16:52:54 -0700 (PDT) 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=@polymtl.ca header.s=default header.b=nuaN8LfF; 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=QUARANTINE sp=NONE dis=NONE) header.from=polymtl.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230444AbhEEXRT (ORCPT + 99 others); Wed, 5 May 2021 19:17:19 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:46291 "EHLO smtp.polymtl.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229465AbhEEXRS (ORCPT ); Wed, 5 May 2021 19:17:18 -0400 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 145NFuAZ013297 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 May 2021 19:16:00 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 145NFuAZ013297 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1620256562; bh=pc45n/BWF7lDKLmoC8+fLn/BhW3jQ7nH+5jK1B5rYNU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=nuaN8LfF7O+hFXk4ovvB4VaQ82brXcrghgJBxZS37ImCQHhHDcgtu+32xkIKehahe KXhPSRCLOFJI6zgAyheiCNuRZsrXWBqKkhkCN2UtF78u8AMOxLXSWRCrxrwq/bLWg2 89raNRow77e5tbFdw6GsG8sjF9wc3T1/PwiYrxno= Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 631DE1E813; Wed, 5 May 2021 19:15:55 -0400 (EDT) Subject: Re: [PATCH] io_thread/x86: don't reset 'cs', 'ss', 'ds' and 'es' registers for io_threads To: Stefan Metzmacher , Borislav Petkov , Peter Zijlstra Cc: Linus Torvalds , Andy Lutomirski , Thomas Gleixner , Jens Axboe , Linux Kernel Mailing List , io-uring , the arch/x86 maintainers , linux-toolchains@vger.kernel.org References: <8735v3ex3h.ffs@nanos.tec.linutronix.de> <3C41339D-29A2-4AB1-958F-19DB0A92D8D7@amacapital.net> <044d0bad-6888-a211-e1d3-159a4aeed52d@polymtl.ca> <932d65e1-5a8f-c86a-8673-34f0e006c27f@samba.org> <30e248aa-534d-37ff-2954-a70a454391fc@polymtl.ca> From: Simon Marchi Message-ID: <0bd34171-1e94-fab6-b186-3ddd21bacc0e@polymtl.ca> Date: Wed, 5 May 2021 19:15:55 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Wed, 5 May 2021 23:15:56 +0000 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Is it clear now? > metze Yes, thanks. I had missed that the point of the 2nd patch is to not do the memset for these threads. Makes sense now. Simon