Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1028616iob; Fri, 13 May 2022 20:13:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUbd6kworI02De2CZpRfmup3V8wakmL+T4Lem3TEfF8/IgutPTvic8O43lsY7mfabcME5q X-Received: by 2002:a05:6000:1881:b0:20c:4cfb:33d0 with SMTP id a1-20020a056000188100b0020c4cfb33d0mr6195616wri.264.1652498020035; Fri, 13 May 2022 20:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652498020; cv=none; d=google.com; s=arc-20160816; b=rTOqnVqJX/UdfNxcRWykBZCa2eWZ/zGHXgcmRIV2nPHU4lbRAnAAYclaJomAmhw14e kp8uf33A0C87V+emWeORk9FmS/2E1FOJQcNBjH43YGUpY2y5Hui0EOznFbyPAfCyLzh5 rgIOsB8HgASYpjDeOHVLQ12oaZRzIZw+Z1W7eqRehfZ0DJe2DSkA40rEQRxn5sIs7qHY coevNWhSSpa0kSYT3nWNhnt4Sekcjt8gysKq/3Cr95E+w+tHH31nhv+Cb0Uh796eu3yc Gg5R/oePNg4XgMqmYcu7Bhp5XePcwl8kFzq52AKw8gCH0oVoOC/OzFNvfgszbuHmunfy Y7TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:mime-version:user-agent:message-id :in-reply-to:date:references:cc:to:from; bh=/QwM9wYqEyNN/lVxFWDegZF517fjW8wg/JZ0iKIvOXI=; b=Gu0kJIVXI6LemsN1Rphl6HwFxABvQPldOimoq0+cEE6pATq4x0+ZMF/uLoaPq14jhk nw11OWWG42yobiQjHISEWDuyF9cW7cxcvtf5Xn8uCTDMCfiNdXUZW1pmAnzt9AgN9C/O QK09ugXuS1wOqvMSNV7QExb7XkYfshl7rUfhoxJl+wCvXIl1F1IyjAm+ueOuzuRFLaMv CbbjxzNFRDSH8wD7rVsZsV4tfH+XD1ZRVllitqvFkxsPpt8hqghf4aLO8OERtKIZ1WDu y8JVNf/O52JLiEJG4v36U7V6c00iGKI6SQTPhENJng/gQmUF5KQXGGfTMTBtYAeAOQoq utlA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v6-20020a1cac06000000b003943f740b4csi6437521wme.153.2022.05.13.20.13.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:13:40 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B3253D5DF1; Fri, 13 May 2022 16:53:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345733AbiEKRl5 (ORCPT + 99 others); Wed, 11 May 2022 13:41:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245572AbiEKRlz (ORCPT ); Wed, 11 May 2022 13:41:55 -0400 Received: from out03.mta.xmission.com (out03.mta.xmission.com [166.70.13.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2087521A953; Wed, 11 May 2022 10:41:53 -0700 (PDT) Received: from in01.mta.xmission.com ([166.70.13.51]:39398) by out03.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1noqLQ-00FuHr-O2; Wed, 11 May 2022 11:41:52 -0600 Received: from ip68-227-174-4.om.om.cox.net ([68.227.174.4]:37824 helo=email.froward.int.ebiederm.org.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1noqLO-001d7U-Ly; Wed, 11 May 2022 11:41:52 -0600 From: "Eric W. Biederman" To: Thomas Gleixner Cc: linux-arch@vger.kernel.org, Tejun Heo , Peter Zijlstra , Vincent Guittot , Al Viro , Jens Axboe , Linus Torvalds , linux-kernel@vger.kernel.org, stable@vger.kernel.org, =?utf-8?B?0JzQsNC60YHQuNC8INCa0YPRgtGP0LLQuNC9?= References: <87mtfu4up3.fsf@email.froward.int.ebiederm.org> <20220506141512.516114-1-ebiederm@xmission.com> <87fslhpi58.ffs@tglx> <87v8udwhc6.fsf@email.froward.int.ebiederm.org> Date: Wed, 11 May 2022 12:41:44 -0500 In-Reply-To: <87v8udwhc6.fsf@email.froward.int.ebiederm.org> (Eric W. Biederman's message of "Tue, 10 May 2022 10:14:01 -0500") Message-ID: <87ilqcuftz.fsf@email.froward.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1noqLO-001d7U-Ly;;;mid=<87ilqcuftz.fsf@email.froward.int.ebiederm.org>;;;hst=in01.mta.xmission.com;;;ip=68.227.174.4;;;frm=ebiederm@xmission.com;;;spf=softfail X-XM-AID: U2FsdGVkX1/WkcezZ++DvlUbGu03UhymtxgbMnY4ZO0= X-SA-Exim-Connect-IP: 68.227.174.4 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Virus: No X-Spam-DCC: XMission; sa03 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ****;Thomas Gleixner X-Spam-Relay-Country: X-Spam-Timing: total 1440 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 4.3 (0.3%), b_tie_ro: 3.1 (0.2%), parse: 0.69 (0.0%), extract_message_metadata: 10 (0.7%), get_uri_detail_list: 0.66 (0.0%), tests_pri_-1000: 13 (0.9%), tests_pri_-950: 1.06 (0.1%), tests_pri_-900: 0.78 (0.1%), tests_pri_-90: 238 (16.5%), check_bayes: 232 (16.1%), b_tokenize: 4.1 (0.3%), b_tok_get_all: 6 (0.4%), b_comp_prob: 1.31 (0.1%), b_tok_touch_all: 218 (15.2%), b_finish: 0.77 (0.1%), tests_pri_0: 1158 (80.4%), check_dkim_signature: 0.36 (0.0%), check_dkim_adsp: 2.0 (0.1%), poll_dns_idle: 0.17 (0.0%), tests_pri_10: 2.9 (0.2%), tests_pri_500: 9 (0.7%), rewrite_mail: 0.00 (0.0%) Subject: Re: [PATCH 1/7] kthread: Don't allocate kthread_struct for init and umh X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Eric W. Biederman" writes: > Thomas Gleixner writes: > >> I'm worried that there are more of these issues lurking. Haven't looked >> yet. > > I looked earlier and I missed this one. I am going to look again today, > along with applying the obvious fix to task_tick_numa. So I have just looked again and I don't see anything. There are a couple of subtle issues on x86. Especially with saving floating point but as I read the code copy_thread initializes things properly so that code that doesn't touch floating point registers doesn't need to do anything. The important thing for lurking issues is that even if I missed something practically all of the uses of PF_KTHREAD are on x86 or generic code so they should be flushed out quickly. Eric