From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 26FBB325486 for ; Tue, 6 Jan 2026 11:34:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767699277; cv=none; b=cvxfXsmU66D8Bg62ujFqkTY7A4Z3Vqn0yAQ9xjcXqRTudf10DAXV2F8FlQkVYUd10AyD955gTfY8Skn2AuIZ0F24FJ7Cu4pgDlrCG7qGr1bzAgWJ/acYUQqNUZhxxveQuwkhmFr9nBZHISAlFQ4Y9NEROiY7F7ehLLArxQYCSbQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767699277; c=relaxed/simple; bh=7UzjkNcLzLBguCGML5Ij7F42NzeX1CHdjWGd71OU1Y4=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Tx1+s6sUCw7ADt4U7dq5ZUrINTV/cnxsUxjZ63P8jY9fSJN+PDUhviThPfRXXGcqUparaqpc2Q1qm2zwut4o261VP/atz+iENoA5zqUFbbd7UgPkXCkQci5vbwHKhmxP2qY0cYEzQgY3f93p18N+n4UVEvC5ePLBin1EMTtuqlo= 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=AjUg+z/h; arc=none smtp.client-ip=209.85.167.49 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="AjUg+z/h" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-595819064cdso1369672e87.0 for ; Tue, 06 Jan 2026 03:34:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767699272; x=1768304072; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=KoUoIpbxATSqLMzgG8ilQMkf+g6gJyxFiLa7FEkFkG4=; b=AjUg+z/honBGAqBAdf2Cl5szIs/aHjfC2bv9wPdrUqydF81h880lwi1IEYsM9x7398 taBKDff4VZg7dJFM11rFkHeYO07RUe9k1npDSi6HW+A1nug3vg/gKhuRvu0qdy3buzK8 oz1J4DEQPr+90iP/xxpyYEogmDOgwIOJc5vFlX4iQPYn2LcFY8u+MGmcqQ8l0F+i0gI0 PrjlxpiqQiS0Rx+mKcA/HtdvXxdDPkJV1BBzxFI/aTW7k1TTs9Jzw4GNuyWPHhtQEsg7 EgHmQYLdqDAbw7fOruDGuTEZb5/o2uEXz95Qp7OikBXPLSUKodsdpjs5dD2wrm3ntLYh vT0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767699272; x=1768304072; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KoUoIpbxATSqLMzgG8ilQMkf+g6gJyxFiLa7FEkFkG4=; b=bb+7YayySic59HnPr9O6xSWPnqNwzoWYQbLdFZmA+ZEa/yEWEaYitmaS/kuGFbZjJa jVWzySqhggFQv2CHgk7CCZcMP+ixnwsTH8HD1ItFXDsWDaPelU/H9d9UBK521+oa1EEL 94waIwAdQNl/VpY0KyDFd6eoCIAuUcKRHgAo4G3z/DLDB/aa/w9gYjFkYL9I5/HFMO+7 cxJKjTqq99uBUbFj2lRPVbzMJIoIvICDUuRtBMUe5o//jXxzeux1GEibmausd0Ea8XG8 m8LRpxTNLIJ4M0QRABUtZF2vjQY1QcRyOHsrx0zapnNsOQT+cxyZgb9i0JoVJGrqANrF G0eg== X-Forwarded-Encrypted: i=1; AJvYcCU7ElynWJZTBrOs79oSm0lwoCzw1tAF9uy3qNnDGWp8wM2/lmTw75VYaf+vNgHu2DJV/WC6mMCXZKjKCeo=@vger.kernel.org X-Gm-Message-State: AOJu0YwGlIwcVltArupVaotkpwueXsiKFRfocmJaPEGUxvnwG6aw+6NW ijWr950bsa3EvlQvd/YJ0teaoFhUd+0E36RLMiz4+R9GDXDscVu5K4lQ X-Gm-Gg: AY/fxX7388XRw3WPRIyBk8yjyWaC3jwwyuTq5x+xxtVxV9R3umwRGw15GeDAQTOxBZP bxh9XJ0aKdJtYqNu/V6wpiNuihzRUWsLV5iPZMdL15deleBPM4UhzPYsywl+C/39mSKWFWI7Ylr 2scfoil/zUtm+u9a3//+Lb+xSDBE+pYGdrOQzzjswJgzAnNzXAGB5wFuqx9vWPLAqL681/WJVn3 ajVaMMCBwlWWTLocNcmDDqry0jNkmbVoIXYMmeydOmwxuVoHpT8639YWbA01SkMhQ0L4Qkgr2ff QlcUjtr/4OwwDs51q7N+MEEya0whiYbXdiNX+SJXqJ1jzUnHrjok0S3nc6XzTAIeOR1qC5Z0jkr /Kxm4By3eTtgtQqu08qjjR6gw2Ip35GMqNhDu5ewYao8BJFFXlh0= X-Google-Smtp-Source: AGHT+IE+lB9eendcALR/ULoAEQJKIfgtjYi2OGAI/Wqdno2jUmDLBw3R96c+3XtiVW2SaiRPDwGHFQ== X-Received: by 2002:a05:6512:3ca6:b0:598:f35d:952e with SMTP id 2adb3069b0e04-59b65a939bbmr793660e87.25.1767699271961; Tue, 06 Jan 2026 03:34:31 -0800 (PST) Received: from pc636 ([2001:9b1:d5a0:a500::800]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59b65d5dc74sm517522e87.54.2026.01.06.03.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 03:34:31 -0800 (PST) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Tue, 6 Jan 2026 12:34:29 +0100 To: Matthew Wilcox Cc: Ryan Roberts , Andrew Morton , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Brendan Jackman , Johannes Weiner , Zi Yan , Uladzislau Rezki , "Vishal Moola (Oracle)" , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 0/2] Free contiguous order-0 pages efficiently Message-ID: References: <20260105161741.3952456-1-ryan.roberts@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jan 06, 2026 at 04:38:39AM +0000, Matthew Wilcox wrote: > On Mon, Jan 05, 2026 at 04:17:36PM +0000, Ryan Roberts wrote: > > Hi All, > > > > A recent change to vmalloc caused some performance benchmark regressions (see > > [1]). I'm attempting to fix that (and at the same time signficantly improve > > Unfortunately, there was no [1] ... I'm not sure this benchmark is > really doing anything representative. But the performance improvement > is certainly welcome; we'd deferred work on that for later. > When discussed the high-order preference allocation patch, i noticed a difference in behaviour right away. Further investigation showed that the free path also needs to be improved to fully benefit from that change. I can document the test-cases in the test_vmalloc.c if it helps. Also i can add more focused benchmarks for allocation and free paths. -- Uladzislau Rezki