From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 7979F34A3A7 for ; Fri, 6 Mar 2026 09:45:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772790323; cv=none; b=GODO4BWjCEs9iePEgS2Ydqx+DdzPWRp8fW1pR2M4whMPWOUezHqIf6OKuakX/06hhgFIxEjW1h9DGm8EM5gCOOeYh1O4RGRJkWmmbjesHFeIpO7vAZjjdXUKQ5IshOGDmowVZeD58HN5uNODwiJRJlJ+pQhqFjIOtZTuamfRef8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772790323; c=relaxed/simple; bh=wS1qxKCchhjtDwRNXR6jv/SqzMa5hcVlBO3c/OsKvrQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kSRFBXsvXplFsQSpNEqn7D5olUqb8eTv6ya/iqz5jKPG4dS54NWCcGzifwHovDWJO4RF8cqGmoc6Ulg4uTi4IosmqiZL+lbb1yJ8Afc0WemPyvkr/WviKWVj8gRfIlkP13g3wTuvEVrc6OHy2fZSw/ocNADbkPMBJlv5WifSAHc= 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=eRpLJ8GR; arc=none smtp.client-ip=209.85.210.182 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="eRpLJ8GR" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-82418b0178cso5057666b3a.1 for ; Fri, 06 Mar 2026 01:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772790322; x=1773395122; 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=wS1qxKCchhjtDwRNXR6jv/SqzMa5hcVlBO3c/OsKvrQ=; b=eRpLJ8GR3N/DESL1Zv2QogEs2UkUOSCFQySNIutUPimJ6BuCFg+d8LcFAc1zaWJl68 w84DxURWOHMBvLfoK/0I3VjtGxaVA/yBwTv+RQryVwD+jvgD7b8EJX79LXNFxpr1jJrU H8NXJNuekFZiK0TTYwb+KSf0/eWK9/didy3Ndrf/DM2GN4QqqNtUpF5SM1nTmeX2q8r4 b8OyN53uQL2ArEO/HCIYkQHQSx7mUGj8pvhdrOToFns/Z+DaDTIPwmj5UzzOuOjlhPJZ g5hWC9BGMBRQWrhPrEIirzpL1dHMGiN4wBdrPCkVP9xiOtLcicrv8VeojXOk9014f6TF Q2EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772790322; x=1773395122; 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=wS1qxKCchhjtDwRNXR6jv/SqzMa5hcVlBO3c/OsKvrQ=; b=RMKdmCgqDymSfCTJiRG2wiE7dww1N3ZBAP1vdYf4QtarIpAYHsp0g2601eA3tLe5gq shrem0kxVFvLyRbE1Q9JfzN+2MwH4f2ij1c6Rypa2eHY7pj6sUSCBXOq0wVJvPBCxIKY qwZNIBYfiM+ZUh6j3u38uPtyjkpCJJpZFXIJ/kITtCZfy9jvT0t3OzxKHDYmL8f4XpS1 Rc4Irqva0ulvtSLvdgwPeZAUZTTNuPHnoE3tZ079orLblis8Li1mKIzLy9ZranKwfVhb Y/iBSuuBBAiahp4UgCJGlhodyJx9RXS7SokmB6cIFu8KqULRv10gbzz3X9ptkJWAoeb5 stXQ== X-Forwarded-Encrypted: i=1; AJvYcCXBg3MnFCudy6/CYCAy30a/HQkTQMwwskGSOO98jdWBjuFYdIbqZxWIxO9FGDW+2sHjMmanH5hsNHBP+Nw=@vger.kernel.org X-Gm-Message-State: AOJu0YyLB49PHeAba0+bIBrj2AkbaOLRXgDIhSo47/1X3sN6eQWuRIIw 8MHelSsu15iwVphV8U0/56QPq75OE3IkmBaxSjZKiKbSljckxjAbMK58 X-Gm-Gg: ATEYQzxbbVGg3Y7ix/H3DhBcjOELHfWnNAOfVpEFEm5GJVMA83nkmn3VQv16bW1QRS8 qtML0bvensnMAqy+09I9NRT49yYoDdozQDGy9+8WXCCVSi1zgnA9HZ5+fRLCvFEfEvxrKsHv1On EYpzOaz4wXfez9LVCHSQwhPE+m7+ggRk9r1fUmif1g6JjE/of57hbW4ZfzLiyPy6Rcmx5ebWXjO eWnZOQeFIuO0Ch1nxDfLB9K6HgHaPBlW/gvBXzt4pkmhNFuPhYElA+AQF6lTO4c4n+ag1Sz/7En YWpXcjO4YU7imzj4KmqElQFiCzj7dw04W6yUM+kpW+Q+5p2r/l3DRogLL8Lb6rb56pbCb0MlDES JAghRg1inzVjUmCEB0bIOIuYWaS++0e549Knt1GboyNiFRnfvJDJAm4KiqGXSFEexvBaSs7IzJR KsNj3pb0nXbP7o8BVRr4ep2TBAUUJRVZ7o24a9i5DaySq6 X-Received: by 2002:a05:6a21:a43:b0:393:c4d:be50 with SMTP id adf61e73a8af0-39858fda4a6mr1885603637.16.1772790321826; Fri, 06 Mar 2026 01:45:21 -0800 (PST) Received: from localhost.localdomain ([210.73.43.101]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c739e0cb598sm1080738a12.13.2026.03.06.01.45.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2026 01:45:21 -0800 (PST) From: Jiakai Xu X-Google-Original-From: Jiakai Xu To: ethan.w.s.graham@gmail.com Cc: akpm@linux-foundation.org, andreyknvl@gmail.com, andy.shevchenko@gmail.com, andy@kernel.org, brauner@kernel.org, brendan.higgins@linux.dev, davem@davemloft.net, davidgow@google.com, dhowells@redhat.com, dvyukov@google.com, ebiggers@kernel.org, elver@google.com, glider@google.com, gregkh@linuxfoundation.org, herbert@gondor.apana.org.au, ignat@cloudflare.com, jack@suse.cz, jannh@google.com, johannes@sipsolutions.net, kasan-dev@googlegroups.com, kees@kernel.org, kunit-dev@googlegroups.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, lukas@wunner.de, mcgrof@kernel.org, rmoar@google.com, shuah@kernel.org, sj@kernel.org, skhan@linuxfoundation.org, tarasmadan@google.com, wentaoz5@illinois.edu Subject: Question about "stateless or low-state functions" in KFuzzTest doc Date: Fri, 6 Mar 2026 17:44:58 +0800 Message-Id: <20260306094459.973-1-jiakaiPeanut@gmail.com> X-Mailer: git-send-email 2.35.1.windows.2 In-Reply-To: <20260112192827.25989-4-ethan.w.s.graham@gmail.com> References: <20260112192827.25989-4-ethan.w.s.graham@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Ethan and all,=0D =0D I've been reading the KFuzzTest documentation patch (v4 3/6) with great =0D interest. I have some questions about the scope and applicability of this = =0D framework that I'd like to discuss with the community.=0D =0D The documentation states:=0D > It is intended for testing stateless or low-state functions that are =0D > difficult to reach from the system call interface, such as routines =0D > involved in file format parsing or complex data transformations.=0D =0D I'm trying to better understand what qualifies as a "stateless or =0D low-state function" in the kernel context. How do we define or identify =0D whether a kernel function is stateless or low-state?=0D =0D Also, I'm curious - what proportion of kernel functions would we =0D estimate falls into this category?=0D =0D Any insights would be greatly appreciated!=0D =0D Thanks,=0D Jiakai=