Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 872E1C61DA4 for ; Tue, 14 Feb 2023 18:01:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232904AbjBNSBO (ORCPT ); Tue, 14 Feb 2023 13:01:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbjBNSBK (ORCPT ); Tue, 14 Feb 2023 13:01:10 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABB222B60B for ; Tue, 14 Feb 2023 10:01:03 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id d40so17369142eda.8 for ; Tue, 14 Feb 2023 10:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iygKktnt78admSofr0NrLyYem4i5NC0n/qOyUNQkxrc=; b=Ld3T1psNhe2zf6nzM1vI/9qLBaMvZ1LjAW6Lx8KE0oeopTK8GSSBPkTjcrp6X97r95 XyTU/NHAZ1zZA5dk/CjRA2H5kzFJZQebw7uVTZsarrFMLuoJzoF5lASNtsoRJ/KHEjgj QzUyxsUkK1mpnOIS9Q3GlNnJsFG1nFk4l1UNI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iygKktnt78admSofr0NrLyYem4i5NC0n/qOyUNQkxrc=; b=Uh7Zv4YmornseTehMKIUrOBXkLziTVnFFb01XEDwAxrv+vHlMO+uyFzKotRqpYrRWj W6+8BChNxiLHyG2tP7qAdQ8mKbx/rZfqoOjTXis1uLJWDMxncRrg+Zb6up/CBQlb1GRT 3cuBpn5KKRvUP4mCg1s410vf67YeDOjKLi5P5dtKHo+dvyZMcujCQC5Q1wK75soGlS4I Qe/i/uikxW4lL3DGLe9F/MvN086C7tkUn0fNKX5uSDA/YRxEISjg0rd83GQZI806aKKl ItM/cuuoo718kENRLdQfPKnMbJadxgfTxu9xMjhCoErWWm5NIS8oqkOffr3ubNOuG+1E 18Yg== X-Gm-Message-State: AO0yUKUSjppW7D09c5zzkfliidjQH05RvK1tXvxMmCX4BpnlkPkWJk2I VSv7v/P/NqC/J5eVQrJilDQJUUOKowO25MuCHww= X-Google-Smtp-Source: AK7set+u9j0eDOGGRAWHdzbHiUZS7AdAAgtNMauNLXsSCT5/mOIoVMUEnj6j5lQdTnZ+iazMYSvgNA== X-Received: by 2002:a50:9354:0:b0:4ac:c635:8e03 with SMTP id n20-20020a509354000000b004acc6358e03mr3070556eda.37.1676397661919; Tue, 14 Feb 2023 10:01:01 -0800 (PST) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com. [209.85.218.47]) by smtp.gmail.com with ESMTPSA id a21-20020a1709066d5500b008b13039003csm1082220ejt.166.2023.02.14.10.01.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Feb 2023 10:01:01 -0800 (PST) Received: by mail-ej1-f47.google.com with SMTP id a3so8107601ejb.3 for ; Tue, 14 Feb 2023 10:01:01 -0800 (PST) X-Received: by 2002:a17:906:5a62:b0:877:747e:f076 with SMTP id my34-20020a1709065a6200b00877747ef076mr1697272ejc.0.1676397661032; Tue, 14 Feb 2023 10:01:01 -0800 (PST) MIME-Version: 1.0 References: <20230213010020.1813-1-michael.christie@oracle.com> <20230213010020.1813-5-michael.christie@oracle.com> <4bf04d5a-c45c-dac9-705f-c7a0adfd37f3@oracle.com> In-Reply-To: <4bf04d5a-c45c-dac9-705f-c7a0adfd37f3@oracle.com> From: Linus Torvalds Date: Tue, 14 Feb 2023 10:00:44 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/5] kernel: Prepare set_kthread_struct to be used for setup_thread_fn To: Mike Christie Cc: brauner@kernel.org, ebiederm@xmission.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 13, 2023 at 4:50 PM Mike Christie wrote: > > I could balance it by doing the following which would support vhost, io_uring sqpoll > and kthread's name setting: Yeah, so this patch looks like a real simplification to me, and avoids the different users doing their own random task name handling. Thanks, Linus