From patchwork Sat Feb 24 13:49:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205864 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1154942dyb; Sat, 24 Feb 2024 05:51:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXRL66Xyom+pTcMdRsstdKLpth2B5q7zW3NROoyk+o8f87cAlYWOsAC8Vcnre2HIacsb7PDwH6lbwusjLkSBvfL1OK8/w== X-Google-Smtp-Source: AGHT+IF+p9x1dU7xgCb5EAysuNcYyFweRwacZ8Urx2V8HCgUz49udgl+5tIhI+EmTZR4v4Cos36m X-Received: by 2002:a05:622a:1702:b0:42e:5eed:1477 with SMTP id h2-20020a05622a170200b0042e5eed1477mr2447764qtk.27.1708782684767; Sat, 24 Feb 2024 05:51:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782684; cv=pass; d=google.com; s=arc-20160816; b=FANlh5j9oOD5wpdBldCSTaweaITncBxN1+ccSPz+fv1Hdg9u3ipLsHC6EEyRJPy0rY BBOzrxd+ELGSlLCsWN6KEXgFycsCBAp9gcSEkQePmLz/AekX3Xk2AU6vCRd/d6lqaK7Z 0IT99sREd8XjD9ub0UMYDI69xCsITNuLeiBNi0jruE4fYNxD1O2raELQCG2PMpC8wieQ 0RiD5n75riaL3aHj8MeEnTCPH1C36spMabUUuzJLysjINsEGHVrkBSgmA8Pj8pL3xE/i JhG2aR9nXIgTGVQHP1I7pc63Sr0T581KuJWntwYqQaXOXSyxzjDya+NJM1XSHSCbl7Pi fuJw== 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=RjzkEuT2X9YH+2nQqDYsuYIdSPZdn5kxHlvSnIWCZkc=; fh=TrILD1nitUu/zmMh29dKU/zYHqjVkfFOVwD19rn1Z34=; b=Gp2V94M9ioExaO70v6xMiAdoSr0P3+FhGzEwRsGscLHZZdfmTOVqxUPBT2Zij8I7/C T/t7M2TO3GS9g5ZbJI/u+BBqTtespL9lzSIOkRY0o9VBFqCezQAhHDNY9CFEanne4aNf J8fJOmzFGE0oZlDpKG7TNoy/q/DPDM7xJxPhy2kVVA83IHDR9utg5pEJ5AhwR+Ihr+Pc ShaaG+sgpRIjzVs4mwZ72Jxded6nHRfiV71uiBZZGgEQhxEYpyn1w9pwzuuhx/TghOlE LExjRQTMRVjPD8JyQjAPIjXHBHRnN0PWpkSIojXLxcLWg5IaFu0klXNv2XTLDoIbUnMH Zcsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=a2CtTmIs; 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-79666-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79666-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v3-20020a05622a188300b0042c44be9c20si1123673qtc.507.2024.02.24.05.51.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:51:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79666-ouuuleilei=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=a2CtTmIs; 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-79666-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79666-ouuuleilei=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 6519E1C20F72 for ; Sat, 24 Feb 2024 13:51:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0AB6B42077; Sat, 24 Feb 2024 13:49:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="a2CtTmIs" 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 0BA9328E3C for ; Sat, 24 Feb 2024 13:49:35 +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=1708782577; cv=none; b=mOXOIgsUoFNJ90gP+DN1UgCW+h0QGWc5r0NORcXY5VjphbDFsk6N00ruuW1UubgIocMSsmLIDWjT5FmlEPWillLBzr0T4L4Yp3XTqpsNQZDV5NIUTOJcsy9cvFKAQBXSMYeqBd9XoUM8YJNtfXFIZkvaw66V4YnmqJwnkBjEisk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782577; c=relaxed/simple; bh=F7G686b7Abc0cpBWp4Y7+mtkigyVLN6ul/isR1ksPWo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=TOh+XQkWtnge4vwDD0HPoE4ymVvyCtj+aFOniDb1QP1TIV2ncQSsP9sIlE6DCRB8/ldfFdLtWD/gxTsJRoG0d/gIgMYgYqpKChUDQCfCRaAdvrlAXo4J7D4lMPqxI1EhWjzo8U/CfZmnXXpj/x7pIQ9xUB58Cou1uSRzOif1dCE= 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=a2CtTmIs; 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 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=1708782574; 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=RjzkEuT2X9YH+2nQqDYsuYIdSPZdn5kxHlvSnIWCZkc=; b=a2CtTmIsMTLRqT7yJ/7XVHv3+mE8p6Ghfpc3swFYnUCo7x5jRJyixOJwZeo1YCjHJ9CPdk xcUe4yq1tNI+EyXffBVllc0KNcnbRj0yVM4zzfOauN3g2B3j8xpnh5aZCRdvWneYuqoA1v fI+M6iNAc3h3vQAOSwhQmYPV2YeMcyQ= From: chengming.zhou@linux.dev To: shaggy@kernel.org, jack@suse.cz, jlayton@kernel.org, brauner@kernel.org, chuck.lever@oracle.com, zhouchengming@bytedance.com Cc: amir73il@gmail.com, jfs-discussion@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com, chengming.zhou@linux.dev Subject: [PATCH] jfs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:49:25 +0000 Message-Id: <20240224134925.829677-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 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791788512627633238 X-GMAIL-MSGID: 1791788512627633238 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 Acked-by: Dave Kleikamp --- fs/jfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/jfs/super.c b/fs/jfs/super.c index ff135a43b5b7..e1be21ca5d6e 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c @@ -932,7 +932,7 @@ static int __init init_jfs_fs(void) jfs_inode_cachep = kmem_cache_create_usercopy("jfs_ip", sizeof(struct jfs_inode_info), - 0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD|SLAB_ACCOUNT, + 0, SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, offsetof(struct jfs_inode_info, i_inline_all), sizeof_field(struct jfs_inode_info, i_inline_all), init_once);