From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout04.his.huawei.com (canpmsgout04.his.huawei.com [113.46.200.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7E0D221FB6; Tue, 27 Jan 2026 01:12:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.219 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769476370; cv=none; b=qqC4r1L0hlsrqkYTrowfXweDRMv3Co3SYKt2KygEckmfFw5iJXOr6mFrPU1PnIOTfTDXGvDNAL1zc+GzArG31um0wfhhuIIouuwHxdVKgQOVgHaFabRoJ/QtD09oMqPKcdbS9UWcOrXr1GFB52w5AvShqebE2AloKKpGZMgtg08= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769476370; c=relaxed/simple; bh=9z4BMQamy2eIcsA1RCpI0lsFpa8w7wurJv4MoKUiqgg=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=ZHHRiVj79l8p6GsC1SEcj/yfyJ6oPriilUKXwosyv5zYJbr9OLouyZnLgQv6htCBPntWzJ2hfRqv2hgRqeuE0z+Gb+JqZ8pTqeoWNIjNOyrgPieNHcEVWz0K7net6a5C8buYUt61vzot7DmaDi8hCDW28MAl1djCPZpoxKG4U2A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=q9fMesqp; arc=none smtp.client-ip=113.46.200.219 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="q9fMesqp" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=9z4BMQamy2eIcsA1RCpI0lsFpa8w7wurJv4MoKUiqgg=; b=q9fMesqp5S+jlrRGLjwZpMrhDBRagd/VuG1qurXqHkIsdyD1EsZSczXeo+8orQu516MTy7DQ+ lYcruWuZWu0KPnOPmarujf3Nwapxe1fAgpb1Q43S7d7L00WPgEeEjx3VD3YWuqzFW783yLAGkfp 60+HTkdT97OYwi7Qot7k4G8= Received: from mail.maildlp.com (unknown [172.19.162.223]) by canpmsgout04.his.huawei.com (SkyGuard) with ESMTPS id 4f0S3Z5JFPz1prL2; Tue, 27 Jan 2026 09:09:14 +0800 (CST) Received: from kwepemr500001.china.huawei.com (unknown [7.202.194.229]) by mail.maildlp.com (Postfix) with ESMTPS id C7C3640539; Tue, 27 Jan 2026 09:12:43 +0800 (CST) Received: from [10.174.179.179] (10.174.179.179) by kwepemr500001.china.huawei.com (7.202.194.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 27 Jan 2026 09:12:42 +0800 Message-ID: <496fe218-dca3-477b-89f4-0f71adb155f6@huawei.com> Date: Tue, 27 Jan 2026 09:12:42 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4] lib: xarray: free unused spare node in xas_create_range() To: Andrew Morton , Shardul B CC: , , , , , , , References: <20251204142625.1763372-1-shardul.b@mpiricsoftware.com> <19bf8d68cdb.ae2c0d37126486.8380742359510867201@mpiricsoftware.com> <20260126120451.0c28a6deb3ab532dfae40a24@linux-foundation.org> From: Jinjiang Tu In-Reply-To: <20260126120451.0c28a6deb3ab532dfae40a24@linux-foundation.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: kwepems500002.china.huawei.com (7.221.188.17) To kwepemr500001.china.huawei.com (7.202.194.229) 在 2026/1/27 4:04, Andrew Morton 写道: > On Mon, 26 Jan 2026 11:16:08 +0530 Shardul B wrote: > >> Hi Matthew, Andrew, >> >> >> Gently pinging this patch. I’ve checked the latest linux-next (next-20260123) and the akpm-unstable branches, and it doesn't appear to have been picked up yet. >> >> >> The patch has a Reviewed-by from David Hildenbrand and fixes a memory leak in the XArray library identified by syzbot. >> >> >> If there are no further concerns, could you please let me know if this is queued for the next cycle? > There are comments from Jinjiang Tu and Dev Jain which remain > unaddressed, please. Hi, Andrew The issue is another problem, independent ofShardul's patch. I have posted a patch to solve it. https://lore.kernel.org/linux-mm/20260121062243.1893129-1-tujinjiang@huawei.com > The leak is a rare and this is a minor problem, I believe? > > I'll queue the patch for some exposure and testing but it appears that > some additional consideration is needed before it should be progressed > further. >