From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) (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 7412D30AAA6 for ; Wed, 24 Jun 2026 16:30:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318612; cv=none; b=AW5Jbo3H9R2fEI9oNv26kpyX1XdBZ5l/hdrL5PZvBsQKXX13r1kIHkHlxBUKmDKDxLwho1D98rkHiRuLNNXwA46DfAiw+nHTN86bFUhA0iXW7x+wfLmxFl2VDEkEBCQrIbPXihuIVP5j+A27SN18Vdcc1A3UykgbKO0AgGmKGmc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318612; c=relaxed/simple; bh=f4Q5tTzUw3dIHq5IKDitX92kWGt0Qu9vdWkJH7Q35Jk=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=J/k7X69W1Ie+KPPLF2j+adZOOsh3YM+F5OSLWTbDQRgr4W7I36q+YJVhh8CdWrBz0qVGE0Zq4g76aD0jV9iIfAUjGpaCNbBFVbsEu6IJlgI/DgHm6muamUaJ17H2P8uWnTz5iqz2MQPUgZQvrW4HhNwMu//yLEvzfvaZfPgpv28= 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=crhrza/W; arc=none smtp.client-ip=209.85.160.43 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="crhrza/W" Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-44758ab7c60so826610fac.2 for ; Wed, 24 Jun 2026 09:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782318610; x=1782923410; darn=vger.kernel.org; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=f4Q5tTzUw3dIHq5IKDitX92kWGt0Qu9vdWkJH7Q35Jk=; b=crhrza/WLbngnIdRw1HQJ79XUYHZFtLWbF0EM6sZ/LoOZmBi6ofUu9+JNlpZ/zmgc+ 7xXmTqgsKxkzc96de9zXLHYR+aiFYHVxbjsryE/PjvrUZXHVYsCu/wIPXoqu/PiSKYIt SidqLIkqaVLKz9rvu6VPB87BMQ+/TYGjg/kH6M/QJsY+WkJIJDNq61KtC795r4xgbIAr 1otyGQ14zLVmWV3GtNwvSwsNde8J8c6fULMHYAR1QGFd6z47Rkl38GeUPDMcUWceg4Y9 abg+mck+Dks+FhHACpBA9b4QDXyXOj3gKLOwGw7xdRvEDKRd9Zm/Oa9cjKTp3o+CLMxe N/2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782318610; x=1782923410; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=f4Q5tTzUw3dIHq5IKDitX92kWGt0Qu9vdWkJH7Q35Jk=; b=NOOwT5j8Zwy8e9lyjgr0TXNPq6poA+FZhzSwJ1OswUsYi3vqHGPgXFrsy7TjAaywkA SXy3hayaEZo+yhtdcjT9VmPtJ0DT/pg0fhJz+prpQOpo0B65V1/LnkVOKHDj5ePPakXY SzZm3zKd0GVxrTYnJm51QEtzPVSIIPa9jJuDE1z8eWmNiZAvDlTaW+pHmqLcwmtgPZni 0VLsrPxfnHNFhPnaaVe9cFORp45kf7D8kz1+Erb7wCmNqIThSMnEjd6SIs/ImKl78EWw ziQJIdUIJ/Ph3bKLn+LSW1YhXj32XfW7RKXqJaGJM5IjScbb3NtRXXCDVHrNfz5jImIp 0NOA== X-Forwarded-Encrypted: i=1; AFNElJ/4vrhR0o+8vv0wV3ugI5n1urWR5pVPItRXAGxXx/h6A8LEFpndvWLz/o79/CH9CWKkDfuPK8v9XCeo6so=@vger.kernel.org X-Gm-Message-State: AOJu0Yy8fWZjNKY0hLfb2anzJspwLwtmh0SvO9cM7Abmn8Lg2rmVq4f1 nnyxdpBcLPvG9sxDSvnGhZ1NqRz7x25NmleV2BW1FZZFqaVLrNjJgMcz X-Gm-Gg: AfdE7clJ4mlrFU7vnI62P/l+AGyrFkm43o3ikYKYRIsORIIus1emvnFQ1cuRGAwsk3A 8n/XpLIz34Ri6iAi4rj0tWUqh6Mgq56KGcQcBzeBPFmITYcTPF5NZ7Sj/6hUlMDUteluJVz/7kt wmh7HYruOiZKS5zVOG4HkoC840f0fL7x4fmaf4MBtV0GmN0VgTTzAElV3J2cX2HRtpWSbEkT2jg UiO7GFbG3uvE6fq1nB0T8R8DPCN+feKjTr28GG8OyqW02HP7xxjJJ479SDDbwgKqW5KMUHDSmXV 667BKBYVvifPlArMJz1lIBgeRK6logTyYvmQ31XRUjYu+q92ns48rDTsDvr2L27yCvqjyoVSdbC /x/pKliIdkH5+Yd9dN/taFsxdwTTFEm0mHzeKSpicE1WcNd6jciyjpQ9ZYqPpUxbNgQ4A7CPibM DEW7zhAh2mx4R9/g04V43rqX4K67pTv1QlW3GiHI6BgNyDsLvRc4PfpqhUvri80mz+62Kwnt0/H lDuT5E= X-Received: by 2002:a05:6820:906:b0:696:1e45:9011 with SMTP id 006d021491bc7-6a1231f9adbmr2366325eaf.28.1782318610157; Wed, 24 Jun 2026 09:30:10 -0700 (PDT) Received: from localhost ([2a03:2880:10ff:70::]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-6a0e9faf29asm9654118eaf.8.2026.06.24.09.30.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Jun 2026 09:30:08 -0700 (PDT) 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 Content-Type: text/plain; charset=UTF-8 Date: Wed, 24 Jun 2026 09:30:05 -0700 Message-Id: Subject: Re: [PATCH RFC 0/4] memcg,slab: kmalloc_nolock() fixes From: "Alexei Starovoitov" To: "Harry Yoo (Oracle)" , "Johannes Weiner" , "Michal Hocko" , "Roman Gushchin" , "Shakeel Butt" , "Muchun Song" , "Andrew Morton" , "Vlastimil Babka" , "Hao Li" , "Christoph Lameter" , "David Rientjes" , "Alexei Starovoitov" , "Pedro Falcato" Cc: , , , X-Mailer: aerc References: <20260624-kmalloc-nolock-fixes-v1-0-fdf4d17351dd@kernel.org> In-Reply-To: <20260624-kmalloc-nolock-fixes-v1-0-fdf4d17351dd@kernel.org> On Wed Jun 24, 2026 at 6:11 AM PDT, Harry Yoo (Oracle) wrote: > > Bug 1 was reported by lockdep, and bugs 2 [2] and 3 [3] were > reported by Sashiko. ... and in fixes for sashiko complains sashiko finds more issues. I don't think it will ever end. I suggest to fix realistic scenarios instead of one out of billion cases that sashiko think is plausible but will never be hit in reality. The chance of server crashing due to cosmic rays are higher than such bugs. Hence do not fix them. > To BPF folks: do we need to backport kmalloc_nolock() support > for architectures without __CMPXCHG_DOUBLE to v6.18? nope. > There are still few users in v6.18, but I can't tell whether it is > necessary to backport it to v6.18 (hopefully not as urgent as other > bugfixes). imo none of these 'fixes' are necessary. Humans are not hitting them.