Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1208796rbb; Mon, 26 Feb 2024 02:08:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUrp/5+XVWr4c8OdejGyb1dSFZ32XbiMUcdReXb9GKDrJ8gBWXK0O1dOYYBTscfiqWvB5WTl4RhFOuLOeHkG59CtYe+zRrjhiouGyzyfw== X-Google-Smtp-Source: AGHT+IGKYNIHI6vUrM22ixWutfhtgWxVaylQEjU4g7THhUlKQxF3/Kym7GskJTOeo1gnjaPZEmqm X-Received: by 2002:ae9:c118:0:b0:787:b49a:bb4e with SMTP id z24-20020ae9c118000000b00787b49abb4emr8450842qki.19.1708942107060; Mon, 26 Feb 2024 02:08:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708942107; cv=pass; d=google.com; s=arc-20160816; b=NYqhTldit03jBVwgVYHetXKQvkyuxSGfeQUUUz3xu2d3vBGuXFPYa/C0/RLxIMKCED WyVDEsvCy75OZ24i3RNrnFI7h2c2x/LYFod86yytEz6nZzaBs9FeZbEbMJT92IEmB7Lc FCKm2trYDXuBs2djIvkJ1kO8TGgtDKQHVi1vQCcENWsQkmYA2LfAbGxGkwfGs0aGag+d YshK3r7eFp+sKiMdCkXSj+VmeAOfsFn7kCoZHxFmVEM5aRfj37EIFKpUav9eySk/nPAb dLJjwvjOm7G9OFW0SQuN3k5YRKLMlwlBVEnBoq1oUyIVz7GG8gxcCIyPLGoHZUE45c0x h9gw== 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=dCKaVRI70X9nX5C5tTSd4BzqGMV1ZDrOuKEcOyxOIRQ=; fh=iP5e2L8ZxHidhXlptPJqfk2cP0QX4UA1ww8e2MWI0Dw=; b=R2c8lBXesbLrQNEC48Y1+4LX2Olxi1IWbLoI16OnRRPTDCNcyND7/B6e/pcOyeyoV9 BnDIgwQuAPkTCBhGhRN2WqfGdO/5vhev0Z5mo8ZP2MVmI/e3upNgrxi4Y0p3+IwXnzX5 WhgncE54c8KH4q7dI5Q2aGmpBg8+60Xw+SmAzC2nw6t7dBVQ2XTOETXjquIhvVwR2IcD mj9TX+0AYP4ixCZ6BUZz5eaA8xzPboXjy1VBqjt/VQXIfwvVTOBN9x04ybFNGwYGEe8Q P1M+z+ARdH3iKdFhdESvqsOemEAO4Q1JaMONfwzXZfg5ge55sa/xYf4vJic15RExWAPI wkkg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Rj9a1w9T; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-81088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p12-20020a05620a056c00b0078538825194si4609959qkp.421.2024.02.26.02.08.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 02:08:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Rj9a1w9T; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-81088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CC2261C25BA1 for ; Mon, 26 Feb 2024 10:08:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38A1961678; Mon, 26 Feb 2024 09:45:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Rj9a1w9T" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 D8DC5612EB for ; Mon, 26 Feb 2024 09:45:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708940752; cv=none; b=n/OQdxCKuEpzC+yU0cLP/1sLbUZ1/OqeHAf/cysIqBHGQJMv0EC1EuRTInQ99L24pKiuaXeY4e7Tx35KX8WkzUxY4W2R4gFRQgZNN4bKkABekiKKvVWK4Y1zStlsrvWBkxIukHBuN+6ohN55OqM2X/LP1Fn2jsyMDPKQeE6RWHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708940752; c=relaxed/simple; bh=dCKaVRI70X9nX5C5tTSd4BzqGMV1ZDrOuKEcOyxOIRQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=b/uLsfQyz8LdXtNSlEojS4+GTAq9JShv9nZuD/4gCCXYmnNJpu75+5C6h3VZ3gnTj1f19mijhx5XYtiMADUbJ59VSw2BolDDK7BvCPONrkZTkURzCoNXC9N9PCcdPUKdOEjDdpu+ybrzXkRPrBCxGlHXA7ssZ7VNMlryQjZE33M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Rj9a1w9T; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708940748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dCKaVRI70X9nX5C5tTSd4BzqGMV1ZDrOuKEcOyxOIRQ=; b=Rj9a1w9T7eLbmQdZyjqGrlCMkH/Cpisxc/j3aoArT5efc6b6Gl2cgtunOg/OMHduXrs22w aS9TWN5V/f+WJEMtSHlUJOuW7bdrvIYw4f79rC0fg/A0tOpdXMeTuWSx/O74JqEkMKjWWK VOIgU4f6MeFtlruV4H7fhsjctGqgtIE= Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-211-x3WjEc7RNoS5x0IBjXRmHA-1; Mon, 26 Feb 2024 04:45:47 -0500 X-MC-Unique: x3WjEc7RNoS5x0IBjXRmHA-1 Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-299ba5ae65eso2011109a91.3 for ; Mon, 26 Feb 2024 01:45:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708940746; x=1709545546; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dCKaVRI70X9nX5C5tTSd4BzqGMV1ZDrOuKEcOyxOIRQ=; b=HsJF9z9wTFgYevjMmCaD4ZqqCJG2qjB83Yb+kAymf8ozvN4D7sLPY3l0Bp/5arPNyK 6FL874rGdqv9u4Vt/T1zlTurg06JJ0MiWinHBvQ6F41+UOmvQNQqcbt/gKHcfoiJz7sp Ez0ypx0C4oC2yRIS/ytrEisnoLld3oru20zR4z0RCklqlNVIIVDBkz552dPI9saNrTUT kv2fxruFPuVAA7kAWgVFO7bsRsCYirv47OH76+1zLtHlBfTgiQPFtp5KiOj4cDJGcLkk hYVgh0GJB1JiWk1cxUvBe7yY0+JaSeVBFDa9pShdA3wbdIJdjEzx7T0FjgrBYM1/4o8v nptg== X-Forwarded-Encrypted: i=1; AJvYcCXtKNdUQbRrQV2fyodz3WxfsrYI7SW54L4cTJT3y/yF9qvlyiqtPIgKTxNeZaSoZSVg7Cx5IpvAMy3SKcsxyr875dzywAaAPvdxOqEz X-Gm-Message-State: AOJu0Yx74qDwocP4qsHBkB/tx1uv6KdQlLSUVdiAU6Dg6aoHID6cR3xp tA1DpXdkuGgDAGPJTB8Q/jiEjqeII4Fb+JJPrXnhRBLcJdJ+wk61xMT5euyvTW4uA+RFCOcKUeX uab6xFxZINelpDowsq1gNpD7UjuNixcUweIQZTsl27oRPL5Ic/PZjZJecUPJf7w== X-Received: by 2002:a17:90a:5804:b0:299:389e:b611 with SMTP id h4-20020a17090a580400b00299389eb611mr3031175pji.47.1708940746444; Mon, 26 Feb 2024 01:45:46 -0800 (PST) X-Received: by 2002:a17:90a:5804:b0:299:389e:b611 with SMTP id h4-20020a17090a580400b00299389eb611mr3031168pji.47.1708940746068; Mon, 26 Feb 2024 01:45:46 -0800 (PST) Received: from [10.72.112.214] ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id su6-20020a17090b534600b0029a7951c4a3sm5945862pjb.41.2024.02.26.01.45.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 01:45:45 -0800 (PST) Message-ID: <0b9211b7-9d21-4525-b910-ba66af98a82f@redhat.com> Date: Mon, 26 Feb 2024 17:45:40 +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] ceph: remove SLAB_MEM_SPREAD flag usage Content-Language: en-US To: Vlastimil Babka , Chengming Zhou , idryomov@gmail.com, jlayton@kernel.org Cc: ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com, Chengming Zhou References: <20240224134715.829225-1-chengming.zhou@linux.dev> <35df81f5-feac-4373-87a3-d3a27ba9c9d4@redhat.com> <82c2553f-822e-40c2-9bf8-433689b3669d@linux.dev> <69589d2f-978d-4d14-9e5f-6bd6b3a43062@redhat.com> From: Xiubo Li In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/26/24 16:32, Vlastimil Babka wrote: > On 2/26/24 05:54, Xiubo Li wrote: >> On 2/26/24 12:30, Chengming Zhou wrote: >>> On 2024/2/26 12:23, Xiubo Li wrote: >>>> On 2/26/24 10:42, Chengming Zhou wrote: >>>>> On 2024/2/26 09:43, Xiubo Li wrote: >>>>>> Hi Chengming, >>>>>> >>>>>> Thanks for your patch. >>>>>> >>>>>> BTW, could you share the link of the relevant patches to mark this a no-op ? >>>>> Update changelog to make it clearer: >>>>> >>>>> The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was >>>>> removed as of v6.8-rc1, so it became a dead flag. And the series[1] >>>>> went on to mark it obsolete to avoid confusion for users. Here we >>>>> can just remove all its users, which has no functional change. >>>>> >>>>> [1] https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/ >>>> Thanks for your quick feedback. >>>> >>>> BTW, I couldn't find this change in Linus' tree in the master and even the v6.8-rc1 tag, please see https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/include/linux/slab.h?h=master. >>>> >>>> Did I miss something ? Or has this patch been merged ? >>> You're right, this patch hasn't been merged. But it's already a dead flag as of v6.8-rc1. >>> >>> Update changelog to make it clearer: >>> >>> The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was >>> removed as of v6.8-rc1, so it became a dead flag since the commit >>> 16a1d968358a ("mm/slab: remove mm/slab.c and slab_def.h"). And the >>> series[1] went on to mark it obsolete to avoid confusion for users. >>> Here we can just remove all its users, which has no functional change. >>> >>> [1] https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/ >>> >>> Does this look clearer to you? I can improve it if there is still confusion. >> Yeah, much clearer, thanks! >> >> Maybe we should just wait for the [1] to get merged first ? > It's really not necessary to wait, [1] just makes it explicit but the flag > is really effectively dead since v6.8-rc1 because nothing acts on it. Okay, will apply this to ceph-client tree and run the tests. Thanks - Xiubo