From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AE8226AF4 for ; Sun, 5 Jul 2026 12:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783256259; cv=none; b=ULGSxc0Q1bAld4gCScs45Cda6AkaQy79z57biGVYkuO5T+hDesnKVc1MwQIGhqZkMw3Lg0afzJLoq4eSKAES1tm5GgAkdDIIMPI1m47ZehNkWg1FWBAsdIuoFWBO9c5kcRlkTnPH4LduXPlcEVVN+x/SkMLd+Mm1jnxyTfuBaDk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783256259; c=relaxed/simple; bh=cW4B+RgqYWn7EqVQ/177xDYC+CH9X9rVzpcB0f1YwtY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JiDGM4AZlETGXn5XlWsCAkkq2WqNuv+5ZPY/gujvtuXxtKtBdESkXhmXuFSQKbyOHKSgEXVH0un6g4gxCu639IcXlIfmcC2RfkdV2kHXbfbz/da6WTf7taDzMv4Nc93Wh8Ibc+wSyuAMLSuRgnrTZtqLu0594l4Az0WRYm0hKvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QwWaUXgB; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QwWaUXgB" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-493c52cde9eso21815395e9.3 for ; Sun, 05 Jul 2026 05:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783256257; x=1783861057; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lAYUJGMfYh/BJn1YwzwjYIE3heddiUOoScF80A+TDdQ=; b=QwWaUXgBK8TTORURuP4nmX/x21HxeOy7FMPJfWg+ufwggRQfM8kl1/vdwaZXztJn4S fYtWctdOyB05F37eEbCtvJxsvb+ONuFikaMt5M1Ap0oKkHf75B2NibjyUN3zDrrQjXbU 6+ADDMy7dHGVvWuuxEK2lr4eR+XJHcW4CG6qo48fn8M8pdPoKJ1btj3SWHRZ3oxo927W Igq6eYaaM3bZhO07y6hRRiS2nI1+XvCLME0tLwqY2feCNFchTrynzj/pEt0D7oiiAs29 6dgMZD0m7QE3DiQwjI20VLPzxu0tTnxVxzE0v0L0W3LFdujSuh8jqog2slx7x8PSJzpY X/bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783256257; x=1783861057; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lAYUJGMfYh/BJn1YwzwjYIE3heddiUOoScF80A+TDdQ=; b=U/qprDhy8XndAfbMR1wXIwszFiVBssOqszfuWNN7WQgjpbXZNm9qBLPU6up8awcpEx 4VhvsHq3UM/946Z2h8uyknhuWek0v2SCRtUqhZJbpIuAnpC+SSK2IMMTptpzfijBdFvN AdYpaVRY4sDsGCuTKWuhceak9Gi7eZABZVkR+5J06duRicrxuciECk4YSYIQyPS0rOzJ wvEDdeZZBcueLFiExZdOZbR+SXFzUAUHe1td+mur1xUBjK/hXjljLMCsDoPqBgtC8Zpz f5kjgfm9Gdsz40LVri/UeDbP1IfhMMCTs2iGR1unxZrNA1RRFqtVAgpsH44m24Lp7yh2 Hhow== X-Forwarded-Encrypted: i=1; AFNElJ+uKNgeeBpGWy+g4KgSQFtdv67heIAu5wdoTlrWCfcqjnTD2QL+E/iRr44bd//O4HVrKd39/X1C+iTmxSI=@vger.kernel.org X-Gm-Message-State: AOJu0YyeSKBDADMjtWtrdY/QOMhFXFF1cWpP81QTKHsu/mVkLaJTfDl0 qn2Lx9KxsuqJO5HHAsi0FBgbsUYkfd56HqkQIJAh9mnKVYMDsj8ymzAa X-Gm-Gg: AfdE7ckMFd7cVz+XllDBzCr7NGV6ZNg5OqU/Qt72bIbWUtv/LJOr4SXWVSBECppKoeN AoUDbLEepU1T+gWtuZlT8UeIIToxPoECZiuXcVM9N3D4u5hm8ujf/FAZVkwJLAu61YXYftUwS62 lvjqLpylYbbzSeT3VgPJ5CU6sRb3oNGuUDA+rVQWEQjCuetIdzhL6vyL2vM+ccvGpBsQ/KMuruG zIymECy0A1MIXsdcYv1uiQ7IbZ7raXYSP8j4QhG2SNFnVNv+oXf6PfSgCnc+QixskGVlIFegx4J 8+809NChQO/OOyCRGiA/aQ1rH+hIXxxdZf9gqRooTs7TCTIaCYioVOoDTk+lWBRDRoM8jNOSExZ ZwRjkid2lwCIgyeAAJvikbfEKaJFB20c5+P8ZvA0RvNjVj77WZMj5Ov1t9kLR1tdQVyDV54auxq +Zo34RDcRdUctaOIzMx4I= X-Received: by 2002:a05:600c:46cb:b0:490:9588:bdb6 with SMTP id 5b1f17b1804b1-493d11f6b4fmr86422645e9.33.1783256256490; Sun, 05 Jul 2026 05:57:36 -0700 (PDT) Received: from localhost ([212.73.77.104]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47a9de1e736sm17876979f8f.7.2026.07.05.05.57.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jul 2026 05:57:36 -0700 (PDT) From: Askar Safin To: brauner@kernel.org Cc: jack@suse.cz, jannh@google.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk Subject: Re: [PATCH RFC v4 00/25] fs,kthread: start all kthreads in nullfs Date: Sun, 5 Jul 2026 15:57:13 +0300 Message-ID: <20260705125714.764184-1-safinaskar@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260601-work-kthread-nullfs-v4-0-77ee053060e0@kernel.org> References: <20260601-work-kthread-nullfs-v4-0-77ee053060e0@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Christian Brauner : > So this is a bit of a crazy series. When the kernel is started it > roughly goes like this: You mention "nullfs" in comments. But we now have two nullfses: for kthreads and for userspace. And it is not obvious which you mean. For example: + * Be aggressive about this: We simply reject operating on stale + * fs_struct state by reverting to nullfs. Every kworker that does +void __init init_userspace_fs(void) +{ + struct mount *m; + struct path root; + + /* Move PID 1 from nullfs into the initramfs. */ + m = topmost_overmount(current->nsproxy->mnt_ns->root); So, please, create two terms for referring to these two nullfses and use them everywhere. Okay, I have to admit: I found two uses of "nullfs" in comments only. But I still think that having terminology is valuable. For example, for documentation. -- Askar Safin