Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1305631rbb; Mon, 26 Feb 2024 05:33:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUZUVMgmEl6GH89PWybKTBYfgb6RT53joDPY0ZPKd1rxdslYHPA8r4GQ+ZeCO7AmPjTUTqkrxVCnpVK5UOrcj1IDDyu+YQu8+3u/vAFxQ== X-Google-Smtp-Source: AGHT+IHLL5A1XfvkkmGhtdUus7lte4aNA0c7g9tGRNjVjBKKO9UJK/rIKHVwNRzXL7K4bf3zOI6F X-Received: by 2002:a05:6a20:9f86:b0:1a0:b5cb:36d4 with SMTP id mm6-20020a056a209f8600b001a0b5cb36d4mr9721938pzb.19.1708954404652; Mon, 26 Feb 2024 05:33:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708954404; cv=pass; d=google.com; s=arc-20160816; b=SN4mqEfyxfFXZ+qthPJMQGu4EEEa8LrspPII2AgcEPcoP2ttbKPurmrIrZkrY9aqrm MVilpmrcuAc3Ve9zKH6lU2ENBTkCMa9PVnF9K9UMnqr+gI98k9EHwBt35mCkARTiBzlJ moCcPU0I2iAGjfe4m1o5jbhSc0BwpZT3ZrWe5hWWMWLtq8HlbnOt4khHdzxhlxKn3W8v oYDC66nAXaekpsgeImFCuz2iRVmA1zF/iLd/oKvkTIi5FitSuTazjza8lqeN7Zo/3Dci 2lzVmWlW5YpVBhOf96ac7vB+VOpmT7vw3p5yhZJ6h1Gj1QZM0FBwYcLUAl6IAu7bkTpE c+6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=7V3WjLm31blZt4VPP5/SjHPc6GmQ6abYCb+wOO6XWgk=; fh=azOrR/AJFq51qCKoNB5H4DwaTDDalHeQvgDoQWUH0co=; b=BCqS6D3GmYddubcVpWaY02ylgrACwZTY+oFj4MVU+4v5mnoFB7MTIafHqVD79DZO4P 71YDgaxQxPM8+GErYAxwSiLS5LQ1Xi1U979chuX9oBoFdpH895EWIlESOGhTQa7ak/qt UvHMjJYBUCPxv/n0FYT6vq0fTTRJpg7osnCSa/b6ITMkqKVVSzWdW20EgoCglQkq2q+w lNaZW+QC9wis0EAwh+ZG7QR41NQuXkxJ0rPlgUq6EsCPF3d6QuxMH7+FMTag9B7RW7mw aTvyS3AL3t1sHWWkOe9C7BV2fTXJ8qsBmvuKD3uvbj8hAdkJH4cb8ZhhGEiKq8QziVr8 mIDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DyoY7LO6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-81493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y189-20020a62cec6000000b006e39d08caeasi3745063pfg.232.2024.02.26.05.33.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 05:33:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DyoY7LO6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-81493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 5C300288319 for ; Mon, 26 Feb 2024 13:33:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F690128832; Mon, 26 Feb 2024 13:33:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DyoY7LO6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 395957E570; Mon, 26 Feb 2024 13:33:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708954397; cv=none; b=na3OIJD8vamdLgf3ynKS4e5xOQ5CWPGTzsLYh0zmdEvSt5U08MufNNeXFi55B/Qcs5JAN/9fU2SDQ8QbprnRzqLwCKVyKuWhoxxaKbLuJ6FTeDWFKbqBL4dX0uO0LjMv2+WjhrhzUA5btEXol9fgP43UlrxSZlPqUnd1Xl1hdlY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708954397; c=relaxed/simple; bh=M0oOylNxz4l9CNHQvuMDa7jjrq0NbJbo0mR8tnz3vHw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ElzGJV8KZbC0XiBPAENFa9UK5r3c0c1q7Q8siwR+6qOzZLzVaywUwTYGK8p67l5Dh2HJb/nZIhE5OGHHho1GrNCUm8eLU9flEEuKEieNTSi+DkG8lApfLM08tYu1lVHHgLLYwqc4sNZUU6h5gjIi3aA+mE1fqX+/2OEfuDc8PH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DyoY7LO6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3920C433C7; Mon, 26 Feb 2024 13:33:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708954396; bh=M0oOylNxz4l9CNHQvuMDa7jjrq0NbJbo0mR8tnz3vHw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DyoY7LO6znuJBW24YVgBlltkCcHIjjL26Ju+7A+qxERFc3NFn4jn4y8KN2QaKTROh C59msM7Xynq44wIhCfdGRbtF9bLJ6aXYzIj7A8VvaECPj8mYdt1oOpNHAtQv+sjO8j lcDH3+XiD2GobpMlbvC6rZRPPmoBvLRa7kzQufBAODrbzYmytsuX+z+17cEd4bU7K2 0FHVrBMC+gu6k9Mnz2novFuRxY49XVHQmpVJwAoe5JCyFo+1xZWHbY/+AdlptjxdNH G4nKQM7c2EDhJkUZbOXpkpZW4GIowb6CExCAQ6QjZ2HhufFZMIFt62vMgfR8HYTk5F +n9bBRPXYO+cA== Message-ID: <5cdbfed3-62cd-41fd-b71a-5c6b1940ceb6@kernel.org> Date: Mon, 26 Feb 2024 05:33:14 -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] zonefs: remove SLAB_MEM_SPREAD flag usage Content-Language: en-US To: chengming.zhou@linux.dev, naohiro.aota@wdc.com, jth@kernel.org Cc: linux-fsdevel@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 References: <20240224135329.830543-1-chengming.zhou@linux.dev> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20240224135329.830543-1-chengming.zhou@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024/02/24 5:53, 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. > > Signed-off-by: Chengming Zhou > --- > fs/zonefs/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c > index 236a6d88306f..c6a124e8d565 100644 > --- a/fs/zonefs/super.c > +++ b/fs/zonefs/super.c > @@ -1422,7 +1422,7 @@ static int __init zonefs_init_inodecache(void) > { > zonefs_inode_cachep = kmem_cache_create("zonefs_inode_cache", > sizeof(struct zonefs_inode_info), 0, > - (SLAB_RECLAIM_ACCOUNT | SLAB_MEM_SPREAD | SLAB_ACCOUNT), > + SLAB_RECLAIM_ACCOUNT | SLAB_ACCOUNT, > NULL); > if (zonefs_inode_cachep == NULL) > return -ENOMEM; Looks good, but please rework the commit message as you suggested on the btrfs list to have more details about this change. Thanks. -- Damien Le Moal Western Digital Research