From nobody Fri Dec 19 04:10:35 2025 Received: from out-175.mta0.migadu.com (out-175.mta0.migadu.com [91.218.175.175]) (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 E3C2047F69 for ; Sat, 24 Feb 2024 13:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782505; cv=none; b=NRJjRSxyuubbsLmoytJx1mdSZqtQjYpIlKLU/aDTE5LCMqBwUMWYlnJNIVadpUJN1GJUrOd4wkVYq6KyrfYJbGpeLzT+Q3h+7lRq+goM5mj5eFDVP1dEQfXKoAMX/YIaLBGzXAN/8pgR4zWACrnMMzhJiBlSx58XEvw4mi24sCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782505; c=relaxed/simple; bh=YbDtdnNvghTBaU3RguKiiG1MvBtOLPAJtXljGVNKK3s=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=rjLZFpq2zD92fRQmQl4RlLuz4qrwRa0voCQuwYyHnx6gw6wgLM+HZAtDB1p1/t4hRYJNBQTSBJsOBpTTNblll7prQcNFrV6SMM9h+R9OR7uWVcJ9pgZP9BhPsuh2mDt7KN5Ur+0RlMg1cfMNVAECTdKnya8DGmoWlA+Vf8m4OMU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=WXUjj7OQ; arc=none smtp.client-ip=91.218.175.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="WXUjj7OQ" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708782502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=fE2FStz/e/B+/GO2DVwjBE8Exn6DtP5fmhDWTzvK8qo=; b=WXUjj7OQXTeCrPOVAuYhTE2VpYpH086Palm2FwkMvZIM/OvlnwxsRXhjdlHZyZqrQG5+Vn g5HAVBasAaxZyKRA0360h4oSS9K+zb+h4oGRAuaNOG5fyBvnvPsJtqA0g2OgnZh54VF5Xj 4JuPZtb7c3XQtmxPQJMNxRgtenuOXkI= From: chengming.zhou@linux.dev To: jack@suse.com Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com, chengming.zhou@linux.dev, Chengming Zhou Subject: [PATCH] ext2: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:48:16 +0000 Message-Id: <20240224134816.829424-1-chengming.zhou@linux.dev> 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 X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" From: Chengming Zhou The SLAB_MEM_SPREAD flag is already a no-op as of 6.8-rc1, remove its usage so we can delete it from slab. No functional change. Signed-off-by: Chengming Zhou --- fs/ext2/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 6d8587505cea..7162c61c0402 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -213,8 +213,7 @@ static int __init init_inodecache(void) { ext2_inode_cachep =3D kmem_cache_create_usercopy("ext2_inode_cache", sizeof(struct ext2_inode_info), 0, - (SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD| - SLAB_ACCOUNT), + SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, offsetof(struct ext2_inode_info, i_data), sizeof_field(struct ext2_inode_info, i_data), init_once); --=20 2.40.1