Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1046473rbb; Sun, 25 Feb 2024 17:11:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW59ZkGeafyVhLjBoVQsKyaWPA7Sqh0FV1+hKihA7wF0OuwtiYOVPAasl/PQKCeIkrU9kYylRkonDxmy5R3HULao285CQfc48NjmQHpZA== X-Google-Smtp-Source: AGHT+IGvmTLW2tBbiQWG61D1ev04BoFTQ75vsOyLtxGFXu30KvG3gBMGokV6kf1uZ/ynahfLufl3 X-Received: by 2002:a05:6a21:1645:b0:1a1:25a:b779 with SMTP id no5-20020a056a21164500b001a1025ab779mr187493pzb.43.1708909888621; Sun, 25 Feb 2024 17:11:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708909888; cv=pass; d=google.com; s=arc-20160816; b=snIVYzYRwLHRrK9epgMybUnyOW7MXOSbvF1yzUc4cF/iCxgOBzqBd8Zs3ApnXqtIhg SI7cBnaeVxQG4QizoI3EhHrZJmlu+gCEDxF4g3ldELoiklCM2/Le9VMXKEBFKCRgQpXg qFsBtQKIihDhMQhZ80DG1qiQpCAKax/mkoIuW64GqvqTMJHVOTeO8Ygh+PmeuIYRJqR6 fHpTJeGN/4B3I6L1MWi28txUhkYeI0URix/0llKL80DNsOUvmy2PSgUjqky66u5VGyUz FrJ1K4+y6BGDkmYiWNrgpUckNpgHWlN7/NbRqHKzMaodoRAXWRwhF64kXWb9gjB8D/1T Oeuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=jQ2dZcVJPaCKNom3iNa7RkigITsK151L7vDe+k/SP3A=; fh=cElzSvFZ0f1sqzHwyhDvI/WtrQayEA/57w7HOIVz8os=; b=X25CseW3ZkNyFFIqmFOvt9lEx8xtM6u8g+MXHQBivybZxwH7HWue5ydE4Jlahuc8wW saQvvAFctG7DDmtoIDHzUfVTmfdZipJ+9LQNEL50HC+odLrCQ8bSTe51Np/CHw/jsvDH QUF06eZnbhrU7SPphijfp50ITQ7CMEFhfIt5nP+omW+ukTXfe/c8CEecl+k+FnaZnET2 c9TQLKRk8UIUh3sfmpDtTnbdQJtT6Mr/8nL4y+HhpcK56npjZ8USdAwfJWBOh/EsUvDP rfDJ+wbSk78m4RWKV7wuhS5yaD8W9lSdQ1OzRcynP44oTCLkkcvIOO132cVbIfcK82zi u7vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=OrcClT6R; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-80370-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80370-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o7-20020a170902d4c700b001dc8fca93f3si1992846plg.88.2024.02.25.17.11.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 17:11:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80370-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=OrcClT6R; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-80370-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80370-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 54F542810DA for ; Mon, 26 Feb 2024 01:11:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A775D26A; Mon, 26 Feb 2024 01:11:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="OrcClT6R" Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) (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 5ACCD3233 for ; Mon, 26 Feb 2024 01:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.97 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708909882; cv=none; b=BlwpRJDjAHZDOOJ5XAxIoDqFS4WVDskxFpu7x7XX0NIwIGuHjWdMRgU/sYf2rBDaBmXQMT1hClkNQ6u8heftKzuK8fUl4e7170N23voBGtBtJstQ26e1WcYjQW/NK6YWNMnVkbmO4KgY+QNBoeyOF7gNTZook/aZDFvNw7lk9sE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708909882; c=relaxed/simple; bh=iUNCxdIUqHGbJaptFDXrwwpJ5FvpLDYcaqS14qG5nIg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SVpoRNKDczUOeUgvns9iKxnVsEI/xw4s7hoB46l3ygQZVRbKCMt/rGMehF86FFoG6SDZVKeo2jPw9Oqcb2a6svxMkDmQZh4LQMdxOnMhu9ai+iMQ7WpQpZUsDTsLEh6FR1Sm7HJC9dKE9r/16fK5Cywlel2e+MHCDzkaYlMx6vU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=OrcClT6R; arc=none smtp.client-ip=115.124.30.97 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1708909872; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=jQ2dZcVJPaCKNom3iNa7RkigITsK151L7vDe+k/SP3A=; b=OrcClT6RPo0UFl2qADOnXD1pXJqbwvDR4pRXv0EXymPH8JUU73ttfp8N4D5NzYHsYo77Q3DU97kcHOferW6XvE+I5bA0XIkC8NerWPeS1MWjK0nWD0WDJXfjbgJuxQlM1Eqf2hrVGMBObkpAeyNwjTx6E85bCeB0vVYrvFcZAZw= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=joseph.qi@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0W19okBT_1708909869; Received: from 30.221.128.188(mailfrom:joseph.qi@linux.alibaba.com fp:SMTPD_---0W19okBT_1708909869) by smtp.aliyun-inc.com; Mon, 26 Feb 2024 09:11:10 +0800 Message-ID: Date: Mon, 26 Feb 2024 09:11:09 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ocfs2: remove SLAB_MEM_SPREAD flag usage Content-Language: en-US To: Chengming Zhou , mark@fasheh.com, jlbec@evilplan.org, brauner@kernel.org, jlayton@kernel.org, keescook@chromium.org, akpm Cc: jack@suse.cz, zhouchengming@bytedance.com, azeemshaikh38@gmail.com, ocfs2-devel@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com References: <20240224135008.829878-1-chengming.zhou@linux.dev> <34678776-859a-42f2-802b-0c7bc90bdfdc@linux.dev> From: Joseph Qi In-Reply-To: <34678776-859a-42f2-802b-0c7bc90bdfdc@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/25/24 9:02 PM, Chengming Zhou wrote: > On 2024/2/25 20:20, Joseph Qi wrote: >> >> >> On 2/24/24 9:50 PM, chengming.zhou@linux.dev wrote: >>> 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. >>> >> If I understand correctly, you are referring the following patch: >> https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/ >> >> But it seems that the above patch is not included in mainline yet. >> Or am I missing something? > > I realize my commit message should explain more why it's a no-op, my bad. > > The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was > removed so it became a dead flag as of v6.8-rc1. That series[1] > mark it obsolete to avoid confusion for users. So here we can just > remove all its users, which has no functional changes. > > [1] https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/ > Take more look at v6.8-rc1, I've found the following commit: 16a1d968358a ("mm/slab: remove mm/slab.c and slab_def.h") It seems that after this commit, there is no user of 'SLAB_MEM_SPREAD'. So, Acked-by: Joseph Qi