Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp921209ybz; Fri, 1 May 2020 11:00:23 -0700 (PDT) X-Google-Smtp-Source: APiQypL1TCcDn/VHrP869MNVle3GcUbhv6nn6mWRwjA1K/LB30BS1H9GONnF1MCxAWrsXuUvbq56 X-Received: by 2002:a50:c487:: with SMTP id y7mr4552972edf.312.1588356023265; Fri, 01 May 2020 11:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588356023; cv=none; d=google.com; s=arc-20160816; b=wKTgLKCp1hTioWi0VsT1j/zJ2QqtyFjf31+3ThqbK/QYeyzD6IGC+17Jp6UsrcopL8 +k7WEt7EaDHRkPE7ZYht/rdZr937iIrw3D+fhXCkgahEpJubnBb3mJDVzCinY3NiDciZ 2vQulpYjjLokdmoVnLG4TDSLS/VF50rmRLMLt5nTO31xLvVJ3wzr3kip3os8hzokQMZh X9g6IZXjgqItslETGAzHnCYlKA7wB/Om61vAsTtSwjqDPlZooh2qIpCSSP5Yex72WKEb Lg7J3m45D1mfqtUhCQlfriLgSS955ziLZd7LY6grObrO5dg8w1R97rQXSzjmuKcuiUR+ mdcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=IXn4r+MPXVyQgD4o3lQqxkPpG/DsRtiXml/AiVaSQ7U=; b=hkcZiPxqlX7dLIW6gf7qH2uo8OvHqOZbxWTiW46oSmS6cfoyQy3KIysRMo3hloK2Mm I+HRwpJpsq76+B6CPCef6NG6lNJDSQMgrISpHjGu1oggnUu+YboL1uC/hhtxE/yu8T8s NZYRpY6AL54Q1F/m91nujtX9camRvY/QckNL+7r8CWiAvVnlzxKGmb7+oCQP83kQxYkY yY9GQzINTXqknrrRCqaB7EcSSEuhkiVDW7+LqYyRcxR2SiNJzkPuEXp2YFMFy4/nX1WY Ond/c5U4pw4ft1xUJgRJmloeYpYiP5UcS5FTfk0wVbF8QU8XAFcq2b79tEyzrLoZGS49 7Ejw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=WDGjF9aB; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw27si1932390edb.289.2020.05.01.10.59.53; Fri, 01 May 2020 11:00:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=@linux-foundation.org header.s=google header.b=WDGjF9aB; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729373AbgEAR7o (ORCPT + 99 others); Fri, 1 May 2020 13:59:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729918AbgEAR7o (ORCPT ); Fri, 1 May 2020 13:59:44 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12BE4C061A0E for ; Fri, 1 May 2020 10:59:44 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id 188so4451586lfa.10 for ; Fri, 01 May 2020 10:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IXn4r+MPXVyQgD4o3lQqxkPpG/DsRtiXml/AiVaSQ7U=; b=WDGjF9aBE/SCwrRF0wdMLKxLM+QBOED6GjGnh6yXS7IP9HNxSxs21YXx3b3eIWkRI+ /iNXc1c8XqN+ZOv5RPZgMGtVWgGn1/M1GJiDFUpCwhOvhhQ2k3vHVaVXg71Yqenb+sMH 3GKDp4UGgBZCrrhROjcIpyZllnUqK4vi18uQ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IXn4r+MPXVyQgD4o3lQqxkPpG/DsRtiXml/AiVaSQ7U=; b=C8td1MmpuRFfAuqRtW0MntEEh5bqQgwEvdggRujDmpKT8j+kSYR0Lt2AoeIa/IWXcu FLq6EN/qCtjxll2gELrQ5hvyOQp19NGVsPnWfTiFLvfkpfaiDvaMH4v3DYDbMabDIN1z 0lGlzh//bKpxwFccNFKWM1WuLlmOEph3foA+ONJ0GvU0sPRZ2gKCFRXvyon3y6rsksiA e3dSQYG5ToSvceTmNGZAm9gNIZxNI6WjQSfG37aR9AuCAqOaISwalzkngJLxoW15R2a7 bJOuYYMxycYrPSBNOf7nnwcPMauivwD32P1rNp7IHU8qyLy7oB1jmP5a4+xrqlFV/MPo Yu6w== X-Gm-Message-State: AGi0PuZNcmNMIoliblgDSGyttinU8s05KGS0cnQxZmYYcSHLOnF0vqfV YlaUQDVbTK5wcFTiJnyXbWc1qkDqSF0= X-Received: by 2002:a19:550a:: with SMTP id n10mr3214327lfe.143.1588355981581; Fri, 01 May 2020 10:59:41 -0700 (PDT) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com. [209.85.208.174]) by smtp.gmail.com with ESMTPSA id y9sm2349808ljm.11.2020.05.01.10.59.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 May 2020 10:59:40 -0700 (PDT) Received: by mail-lj1-f174.google.com with SMTP id a21so3301143ljj.11 for ; Fri, 01 May 2020 10:59:40 -0700 (PDT) X-Received: by 2002:a2e:814e:: with SMTP id t14mr2962897ljg.204.1588355980014; Fri, 01 May 2020 10:59:40 -0700 (PDT) MIME-Version: 1.0 References: <1588348912-24781-1-git-send-email-bfields@redhat.com> In-Reply-To: <1588348912-24781-1-git-send-email-bfields@redhat.com> From: Linus Torvalds Date: Fri, 1 May 2020 10:59:24 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/4] allow multiple kthreadd's To: "J. Bruce Fields" Cc: "open list:NFS, SUNRPC, AND..." , Jeff Layton , David Howells , Tejun Heo , Shaohua Li , Oleg Nesterov , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, May 1, 2020 at 9:02 AM J. Bruce Fields wrote: > > Anyway, does this multiple kthreadd approach look reasonable? I don't see anything that looks alarming. My main reaction was that I don't like the "kthreadd" name, but that's because for some reason I always read it as "kthre add". That may be just me. It normally doesn't bother me (this code doesn't get all that much work on it, it's been very stable), but it was very obvious when reading your patches. In fact, I liked _your_ naming better, to the point where I was going "'kthread_group' is a much better name than 'kthreadd', and that 'kthreadd()' function would read better as 'kthread_group_run()' or something". But that may just be a personal quirk of mine, and isn't a big deal. On the whole the patches looked all sane to me. > (If so, who should handle the patches?) We have had _very_ little work in this area, probably because most of the kthread work has been subsumed by workqueues. Which kind of makes me want to point a finger at Tejun. But it's been mostly PeterZ touching this file lately.. Linus