Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp405784rbb; Sat, 24 Feb 2024 05:48:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW5ecEFn4/Yry4rdiJukPKHosyeYyX2aZ47O/OjUyVZg61sjrn0tYEjP632zBejaw08hf8MXYNWEYW8bsdyihdQPjCPVRUuQ49oV7iB/g== X-Google-Smtp-Source: AGHT+IHPmKVL2u7H02L4MIMexoIy/133fudfWzXHtqxQPaZd4bqFfd+qHroNuB59r/ECDGZVNzTr X-Received: by 2002:a9d:7a4f:0:b0:6e4:2fdf:64ac with SMTP id z15-20020a9d7a4f000000b006e42fdf64acmr2656944otm.16.1708782510858; Sat, 24 Feb 2024 05:48:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782510; cv=pass; d=google.com; s=arc-20160816; b=U9+JAD4pPrBXZTaZh23kAdSuHAMrmzx0WsC3Q54iZzIzlXom/kNwEh9n2pr9sM/NoY mGlpBwSuB8hBwR1VGwKKWxL8mue+s7Evh4S0KzfmBwqa1amJCy0SpS9O7NuKzZ7PgH28 c2vpnW+dLpWdOEtYHHoBAbKU81fILGGsc+/RyCSYlEaSxUXZK5KpauFFYbzh2kUlH6Mp Eidx3AUV3itcedMfx4HYWy7IIqlqUtzhowZbYCKERn8c77c/ATifvXZuhS8t8Th1FvDM e0ERTUXY42lbL/IAAbXcCxd6Y/J+x7FL3kc/JT25JtunKPdI8zWml3Y+mDuplWfZa1M8 dVyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=XhzA1t4BRqDcpPiJ25Uf8+6t2OXS7FCxF+VYL2dOXRc=; fh=wnMIwdKBUccZ6K29z5uXcycndk12+wS32LzNrFt71Ho=; b=b2hnisevWuTe4m5MJk3jZr/6QP6+MVC8DIbHGxtU5y8W83RXeGqGhXqIC9v0lu9tAL wukkRmH5O/3apHkZcPkI9iDKmmLi16HRg2PK1flW1TbV3JmSkOKlM5ivPf16tKueEt2Y /8YHeMBV3JeeEvv2KNdVQXH+IZMFOhE3xA/hIthAF7RWoLXy6CR+3wKmMOCBsCMF53zP l+dEoOIYLt2/gIPi1GmdPY9cwvXf+rtg+mUhm7sC6QwaJJlbLmS5z3qBuygdf4D4v2CU 8sQSwWHakhPRwthTE3kq7ps7WEDO+QniYAmXy/xnc2mMDtvrHDTcv7/5qri/QNdh9LLG h+Lg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Z+wCMTJW; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-79653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d17-20020a05622a15d100b0042e75350096si865176qty.310.2024.02.24.05.48.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:48:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Z+wCMTJW; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-79653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7FD2C1C21105 for ; Sat, 24 Feb 2024 13:48:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13E4E45029; Sat, 24 Feb 2024 13:47:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Z+wCMTJW" Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (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 9FADD481C6 for ; Sat, 24 Feb 2024 13:47:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782464; cv=none; b=meiB6SSgjn9KX3K2VBlcCFnRSpoQUr1ZIfXG8wRPwT/x98KTPOF6R4Ox7ks75tAp1LWz92cqlgg1Gpr8TpfVKJ/gb149yY09T79LONLlFRNXN7URWHdmmdzE/KZJytdizqr0CW0AWc47buLAXkCfYbZ0R2EKsEBYeXc8b2s9EK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782464; c=relaxed/simple; bh=VOqdFD002G9aGfr02w/5hYUtS7LomyuWVefHYXsh7SA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AP8GF1ag1WNv2BcUkeujyBVb7dpBx/wzcD0kg1Yzm+F3ts0sFn3iUnOC5wxE411Qs06A4t1SME31RAo+piXmb+5HLGVEBJDn+2/Y+NCd+F4JQjqMEQlrJ1ItThAOYMYuKHoHr1F4AjydS0fWSbQykjRglFYXbD82i0U25ZRXwGY= 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=Z+wCMTJW; arc=none smtp.client-ip=95.215.58.183 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 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=1708782461; 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=XhzA1t4BRqDcpPiJ25Uf8+6t2OXS7FCxF+VYL2dOXRc=; b=Z+wCMTJWMVFyRVAkgVB6cN7ATU078/NuFpUaldfXkNi0f+x2vMcnZOaE1lhNzmUiJOxI3j d09bO8LKs7M1tecqmYiH2CSNQ/wSMtOqLRW/z1f5NHRjoYghBMyc6uWFEeXes657pUQ9dR eu3Z2lsc1Ti4+YH2Gt+o9WNm05wMth8= From: chengming.zhou@linux.dev To: dan.j.williams@intel.com, vishal.l.verma@intel.com, dave.jiang@intel.com Cc: nvdimm@lists.linux.dev, linux-cxl@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] dax: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:47:28 +0000 Message-Id: <20240224134728.829289-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: 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 --- drivers/dax/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dax/super.c b/drivers/dax/super.c index 54e528779877..cff0a15b7236 100644 --- a/drivers/dax/super.c +++ b/drivers/dax/super.c @@ -547,7 +547,7 @@ static int dax_fs_init(void) dax_cache = kmem_cache_create("dax_cache", sizeof(struct dax_device), 0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT), + SLAB_ACCOUNT), init_once); if (!dax_cache) return -ENOMEM; -- 2.40.1