From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (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 A3A0935F609 for ; Wed, 5 Aug 2026 15:47:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785944866; cv=none; b=E/5ZIc5QVivW78SN31MK3EFIpqaZejsWakNih+L0zWy7Rfqxri2h7MSll1/VlK7eitb2dJjnQ7wYhKbQ4dqNPCpbIXa2TwIFZDgB7PlQziAwPtWhsQUn1OZwR6SjShC/ggY55HnHhoS+HZ7DnNfKI05MV6/N1ma2coG4JD7DPdU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785944866; c=relaxed/simple; bh=kXV6+jLK3ogiMGs6T/30vt8tjCbYBh/w8pbJQHi7U5Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MBhBdl4/B9KxAp0SotZIUImQKD6leOhumisZTdz7y9Afd5HWqgNuCpLyJyD/Xr+ku0o1q3BA3oOk/GJmDkeVdacDhxlUJfJ+evuYHyOfPR/IFn4ZS5022grxe/xH0PG7trn1vAD8OjC0NWgeEmshcLYRjfwUqANQMA4egVR5cwo= 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=A5Zi1h+g; arc=none smtp.client-ip=209.85.215.174 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="A5Zi1h+g" Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-ca913a601fbso1031043a12.3 for ; Wed, 05 Aug 2026 08:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785944865; x=1786549665; 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:content-type; bh=OhENtMgHj8NozdG+H3Ty6ptUnt1hGhzt95OQHECav6U=; b=A5Zi1h+gA75LRar54FVj9ec+xHLJLPn03dRJHp2jHE7vgxRO/HB8pGtQ3+VekJ2Ndm tIJGbZzHxeQtTAbBSGAvFxXvX+//lD5lvoyWMXqT6WacbqMHwyTydUFI5KX6mJHA4qWB KkNnq4vWVNPrsLUd/j/gmFb4nD6Kcdadksrwfdl1AW14HqLRqsJdjkcw/JYKyTm8r3+l zoqRwoPB0UWndfyML9sYhmrM1ehT0QBXKuWmGtfSUwEoOQZtK34IIxD4Dd+oA74Vwotf KiH02Okm5w+GF1LAQ3ShSfg2Iv5/szZCidy6sI1eUXU4lw78gEIFGNDq5ChM4pD/I2Re f61g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785944865; x=1786549665; 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:content-type; bh=OhENtMgHj8NozdG+H3Ty6ptUnt1hGhzt95OQHECav6U=; b=TuCQCFMIt3c3fpcPydcS0BEErRMbOb72GUodx8NPVf3lWoZDFhWYSW/vMIT7cWkj80 LNfCWAwwoOZROiBxoO/aOZ/gpR+q/GydglLNrv4GKDIqhrd5sSPVxS+UNdtgLhylwCs8 4nQJHHyTiFcq08/OmHpiEPdWdwOCP1dZpd7uocZrIl5Qpkg9xfv7MVApejzNEXp0moOD q8OwL/H5QS15Cftdp/0qBsyyi/hHicWdULDzwAlJc5P1k+66/ctryGB0fBzkkhSP2hJu EBIdVOXnxFqakC9oKrO96wuzoFTvH6PsHOeEQkxmTc9YsPjl/b5oY/YjJaTWjfSKUvCu dP2g== X-Forwarded-Encrypted: i=1; AHgh+RougtGD2mY4VEwIlpE9TvutFUjkrDLC0DLsx9lU5k9yucBk0D5lM/gdJgLWCR/lhN7oQGChyT/XfbSYFW8=@vger.kernel.org X-Gm-Message-State: AOJu0YwsROmP7dKI+R/Stz7y9HINxOkMqyUMqXvGdPm4odstd+/b8P4i GBagXyZZMj7YYKcKQSmgFYgvY4zyKQt1uQI1UfrasVA040Vu7iG6gKcJ X-Gm-Gg: AR+sD13aBJYjPWIObSXwfjjwr0Ik+Gp0i9UrUbTeUEK+d9OYUvlr1N8uVyKM/Ub7wwb JhKZQY6qmjZ+o+SA5zbk7wANwE9qiXNP2nbHK9Gq0F42/lzTTh20qL67FCuBE2D58xdJ/o4ipro UZu5NrB2hJrqLlPs2amkRQxjtClZLFgE5ErMu4/RnvkdYlScbz+CUfw23dyxYxwlkG/mwVFv0oa uowA7GlWtDU3sfPiVMNlmyR4AYB66ZkJ28SjuV5y4oSlpZLCdyOjOigXhBObUBwHGXv3DinufN0 qEcCURePxbM7yV+I+rcF5zWLre8b2hH2SzNNsbwn4G/UYabaC8x+cmU4fZrRDqG303tn4jl01iJ 8xMlIugoNu5AlSVIqpnKI/UvKvkv6YOO+UIpoyLM9F7An06FhqBXdtLtCYz+HSM+Gv2/Jr3BOdE n6MtAs2/1o9HBW66jVqrY8L0drinc4/BaSC9RESWVyZfD7izK0n7G4D0CfaHWwnwZykOvGlITK4 8N+0k+KUyTTwOYT0NsGvPT9dsaGT4V1Oow7EwQ= X-Received: by 2002:a05:6300:2213:b0:3b4:b216:2b26 with SMTP id adf61e73a8af0-3cb85df193amr10200700637.5.1785944864736; Wed, 05 Aug 2026 08:47:44 -0700 (PDT) Received: from pepe-82vg (c-73-71-208-212.hsd1.ca.comcast.net. [73.71.208.212]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-31586790e21sm19038561eec.24.2026.08.05.08.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2026 08:47:44 -0700 (PDT) From: Peter Taraba To: corbet@lwn.net Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, peter.schuster.taraba@gmail.com Subject: Re: [PATCH] lib: add statsort(), a distribution/bucket sort Date: Wed, 5 Aug 2026 08:47:15 -0700 Message-ID: <20260805154715.5415-1-peter.schuster.taraba@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <875x1or67m.fsf@trenco.lwn.net> References: <875x1or67m.fsf@trenco.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Jon and anyone who is reading it, here are your answers: >> We don't add new code to the kernel for users that are "secrets". If >> you have an intended user for this code, include it with the series, >> please. I guess I will just go ahead and do it through my work around and keep my secrets (dont need to get my ideas to Microsoft, Google or even worse - to Facebook, etc. for free). If you change your mind about it in future, please do let me know. >> There is a recursive function in there, which we tend to avoid for the >> kernel. At a minimum, you would need to provide a convincing >> explanation of how you prevent it from overrunning the kernel stack. I am fully aware. Wanted more feedback (not only feedback which I get from AI). Thank you. >> Until you showed up with this patch, you have never been seen on the >> kernel lists; what inspired you to make this change now? Was this code >> created with assistance from large language models? I wanted to contribute to linux kernel as I am linux user and it would be nice to contribute to Linux community (kind of a proud moment for me). Oh well. Also, you should do code review, not ask useless questions if LLM wrote the code. Even if I answered your questions, you wouldn't have to believe me - so what's the point of asking. You should make decision based on the code and if it is good for Linux kernel purely. Cheers, Peter