From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (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 D1A3B46450 for ; Sat, 24 Feb 2024 13:50:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782650; cv=none; b=N5fW5vp1pDjpNHDTm/bmphNiklCmi6DHL9+CpRRjqOqX5ll7fwk5/0AFqgDBPVdiH310zI2PQ7Zq22TllcVmEDmELOfm5o0Sr3DQnXKbjaKu/m1UifJQgKezgSuwqg5o0bQ5EOWeLRBSYJYqXvaggl/JyB2A765BjNNXVQ1waaY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782650; c=relaxed/simple; bh=hqPlMODDNVj/DdRhw0M9bZ7QxJPapegOj39rz9GYHvE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=uEoM6SymoGk2wn03Gj78nsUlFNu00CCC9d+xtvaL3vtorY2AEg3hYUfawihw5ny7xZ7vJoth5FF91wLuJpesjVQhO+dJF4JcCCEryMqlaCyTPYayNyQe++sK9hRDeitN7J90DXm2yFXeKyd6B7f+REZ2Vdut6DIt5QgWA7CL/oU= 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=ixX5h0Gt; arc=none smtp.client-ip=95.215.58.170 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="ixX5h0Gt" 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=1708782647; 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=Ibi+RfJ5mT99XLSFTys/B4elpEMlKczBAC3WL/MY6eM=; b=ixX5h0Gtd4jKYQnE25b2A9iGb5a8Z5bfMv8Na2cntWCPp3YEYABAOrT+P//lAYV8WpKqrm 8fDxB6ayvTwqUv+LYGkFEBk7YlcRhiBeWq1qhj0/f+Ljz2h+kx93Z7jnfOfdwhOKBGvJil Bhk0VqHORLC/8A1y56RPcCzBQs2shVM= From: chengming.zhou@linux.dev To: miklos@szeredi.hu, amir73il@gmail.com Cc: linux-unionfs@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] overlayfs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:50:36 +0000 Message-Id: <20240224135036.829942-1-chengming.zhou@linux.dev> Precedence: bulk X-Mailing-List: linux-unionfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 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/overlayfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index 36d4b8b1f784..a40fc7e05525 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -1503,7 +1503,7 @@ static int __init ovl_init(void) ovl_inode_cachep = kmem_cache_create("ovl_inode", sizeof(struct ovl_inode), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT), + SLAB_ACCOUNT), ovl_inode_init_once); if (ovl_inode_cachep == NULL) return -ENOMEM; -- 2.40.1