From patchwork Sat Feb 24 13:50:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 13570445 Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) (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 11F25481B3 for ; Sat, 24 Feb 2024 13:50:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782658; cv=none; b=W75GKtE+WwWIFCyWk1AAoo6trZuyUE3Hfx9DitFJSqwGX6W6gY2bR5m7/340sXbV2XU7Wda6T5Z9xlW/ct52A7uYO5NXCNQSHG6efg5yu2+XKxfHJyD0AzcsWL8733iWhd6/IWGl0kchMxFZLr5r8rti9BiGhFaMbZAjFtrDlMI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782658; c=relaxed/simple; bh=+lBzQhT9s8CESRput5Fswb4v2EVNe03mwvJpUP7DyIw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AjeyEqsXSAHpFOsX3HqUaEGSGZ3DmU31JbPFzIg8agU5yV+ZjWeVao2Nu4mXx1cQ5/FvjZuN8So6hb6iqdy6B2s+wxRYd8hRBkM12P/avGSHN0o8Q0IN+yOwaWT0ZbPx/vCOSZAOQc8TL1ZtfsTgHel3n6919OlXRcqZ7XANFM0= 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=v1/Yf2vB; arc=none smtp.client-ip=91.218.175.182 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="v1/Yf2vB" 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=1708782655; 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=pKdyj1A9SUX/WaHCJPxPGzmkwBmjMOncSsbnh/viqYA=; b=v1/Yf2vButT2D2Cm1zR//SGX78XXZkeOX8fca2iuhvR07Bd1bzMzi6QqK5s8lktsUM4uTX 1KVWnchTFS4IqBELE3sVf64zwnqtsZsiBxsC4+uxtjM0ULsDn6LlnzmOMTf8f7Jz35RQZo lyfWOj6vHetOHNcKtynN9KtwKgarh50= From: chengming.zhou@linux.dev To: jlayton@kernel.org, brauner@kernel.org, mcgrof@kernel.org, akpm@linux-foundation.org, jack@suse.cz, adobriyan@gmail.com Cc: dhowells@redhat.com, zhouchengming@bytedance.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com, chengming.zhou@linux.dev Subject: [PATCH] proc: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:50:48 +0000 Message-Id: <20240224135048.829987-1-chengming.zhou@linux.dev> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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/proc/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c index b33e490e3fd9..b9c5cb63dd50 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -95,7 +95,7 @@ void __init proc_init_kmemcache(void) proc_inode_cachep = kmem_cache_create("proc_inode_cache", sizeof(struct proc_inode), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT| + SLAB_ACCOUNT| SLAB_PANIC), init_once); pde_opener_cache =