From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 1665637B01C for ; Thu, 21 May 2026 18:21:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779387692; cv=none; b=tw2SCAnKXxtyAnYzY49cQMFUUuAGqAQC+S2jZtep3xUekX/j05m7U5SC7beGh84xkTfK81oJgWrx9FGm6jnF8a2X39WPokpevARkqUQrd67ecVTCyW6lhaBDLaxPeI0BTPLs7UIg9l3OremDAAaFS4N3kXsfzR/LAuiVvQcgIcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779387692; c=relaxed/simple; bh=flqBjIvACXmcu9g/NEwaQ8DCDDqkvRuR0b3vArHqtMQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YRPWj3454h0mtJMZIopm8nu3/0ANhzHzCawzBS5ZOOLgrxVwKtaTTiBlarcglVj3Lc9HIYbqzzii1w3mpvkTPq7/J6GkVbUtzWYbI70S4/oeSWNi+kQC8At/egX1mdTAQq+lUKA8E/6hXFR4Y94tmXqxCisvQKU6n9mEQmpYy5Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YWlKw5Ih; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YWlKw5Ih" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB39D1F000E9; Thu, 21 May 2026 18:21:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779387690; bh=g93oEA0kKGwcSFIhOeRYyzi6rhykJxN/BHB6cIc81/M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YWlKw5IhDq20Bi7OkJjkoSnepsxPd7RmpB8SbJ7Pm7vmUSIy3ZC+6b8RTlFBuv2Lm C6j3OFiVe/w6v1QuS7L57dQBTchfTyU9nIxTiHejXx73dv/EiYPDmRsiig0Z+YFWwr ve3Weottoxt7rnkTrstJ3GODm0/n3J/PIDDWV+poUy0Cwc4KlW+suHMjXAEMfxnUFU R47zjXgYHOh2sMATN7OzSRTZGZzjkhxJtjZvLLaDz+9XnBVnnMayPNHUWlgkpAp91j dZoVR3pHhC6sciqO+jmS1Yl+jni8vFM3ir+jZy7ML464k4W02OUOVmOaRyfu5WSNno l/d1HLowZvciA== From: Christian Brauner To: akpm@linux-foundation.org, Philipp Weber Cc: Christian Brauner , kees@kernel.org, jack@suse.cz, vbabka@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] ipc/msg: Use dedicated slab buckets for msg_msgseg Date: Thu, 21 May 2026 20:21:21 +0200 Message-ID: <20260521-biografie-beehrt-267f674efd9d@brauner> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260518182636.58134-1-kernel@phwe.de> References: <20260518182636.58134-1-kernel@phwe.de> 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="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1254; i=brauner@kernel.org; h=from:subject:message-id; bh=flqBjIvACXmcu9g/NEwaQ8DCDDqkvRuR0b3vArHqtMQ=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMWTx+6p5fP1y23uhad4S6x+zWa4KsDeUSfzX7/m71ePcv ugzTFavO0pZGMS4GGTFFFkc2k3C5ZbzVGw2ytSAmcPKBDKEgYtTAC4izvA//ZT15SqTgDihwmKl uef8f9+bGRD/InfJ1sv/axpvCysaMPyVzGjbr2zoMsen1uRJ0wSee5M/btkXqrJpqZlpUnFVZB0 bAA== X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit On Mon, 18 May 2026 20:26:31 +0200, Philipp Weber wrote: > System V message queues already allocate struct msg_msg from dedicated > kmem buckets, so user-controlled variable-sized message allocations do > not share generic kmalloc buckets. > > Large messages allocate additional struct msg_msgseg objects for the > remaining payload. These allocations are also user-controlled in size > and contents, but still come from generic kmalloc-cg buckets. > > [...] Applied to the kernel-7.2.misc branch of the vfs/vfs.git tree. Patches in the kernel-7.2.misc branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: kernel-7.2.misc [1/1] ipc/msg: Use dedicated slab buckets for msg_msgseg https://git.kernel.org/vfs/vfs/c/6cedbc997a94