Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1352061lqe; Mon, 8 Apr 2024 06:44:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfMSJt1F30F9IsjsvpblkauVO+V7oP3jUEEiCnpZayWyXKDCDafrXs95RIeGe3a9cf9Z9x5jTmg3Jwicv0W0L8/P0Fe+0ErtjgUdO+Bw== X-Google-Smtp-Source: AGHT+IEa7RPBXJhQMxhgZzdAU4eSb2nicEbtWCKikK4OmxlTPuuat4scQM3r7GjFm+wxGTgg3+Rr X-Received: by 2002:a05:620a:1a20:b0:78d:6329:dd36 with SMTP id bk32-20020a05620a1a2000b0078d6329dd36mr4289726qkb.51.1712583844868; Mon, 08 Apr 2024 06:44:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712583844; cv=pass; d=google.com; s=arc-20160816; b=eOj6XDDA7y2U1CcrASXbGLCamnIxzB2B5BVeAySrmozzBnjrZrP18l7TWJMUvacpie 5AUuiqE/VFnzj04k0J99aYk6F7WeDF0LqG7ZcaZZxCbwA/k07fsyJ3u8d0Gb/QdOrixa PWVsZenVpYREuQnGG/8tTUqBZ2LMQSh9RtVDqLx1E6zNkvbZYqAP3HJ76Tje2JrmI90z k3p9w0YCKlPKUMsuS3VpAOtxddmOabHPxnyFItMYZTOWvamNvZ25oGzvjvBind+zmk1l /YJPWYpka+23BbH9cJ/BP3znv8789ykiF5UaCKeh0QhNnNUrGzbUPbcadsbLwRH2Ac2o OW4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:user-agent:date :message-id:from:references:cc:to:subject; bh=WO1WT3gByOZ15CrJ9+rZZI9wL8+ZGQ0ifCU4EuYnEYA=; fh=1IyqnPegiu0JOkGuwuCoqd0W6KJExabFZQ8m5n+eybY=; b=SXcZXkg9/6gw06cro6psNV0+fz+gdV5dgrEepkzbCEucQCTaM0fxitF++u0oUFjxNZ 0ZB+XAFbmCST0fDAqYDyjs8gxR9SUqXMf0retRJ+mTbFtBOOUTvoXxiXa6shZR4ei1Ne ZFqAUkS5nYsSgfQdwIeon+BAcMTgV5kKaZdO18b1RlT01/qzkkomlaIK8szs+KXcnzxp CSdCUoEExlXTKXCMkFg5LI9li6n6cOOZlawnIRrozd7dLEs2ls1Zf0fmBFbD4Iy+MP2o g1997xcQlYbU+ge070qXpgZHD4y+P6zea51ykVycQWAGxHbYbGHIKANEszDqvE+0VIby 6hLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-135458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135458-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d12-20020a05620a166c00b0078d5e891645si4664111qko.616.2024.04.08.06.44.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 06:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135458-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; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-135458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135458-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.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 992C71C21471 for ; Mon, 8 Apr 2024 13:44:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3012113A865; Mon, 8 Apr 2024 13:38:11 +0000 (UTC) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (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 63BB613A404; Mon, 8 Apr 2024 13:38:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.191 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712583490; cv=none; b=PGTGxE+uYV/k6oPWX7LlEoPLmBPn7MTn4T2c4+aLn3tJ7iRX7C15BcffFkthaOctkTzgHUAEizjbmgvk/hA8e1xGQeaZh30bRK4jl+0XFhYkVyfNytFH0LvtJ/LIzTGZoSqSvtjUg5QvrrZLbiBzD8J9+dq4y0E/lkM3Vuhx228= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712583490; c=relaxed/simple; bh=jra87wff/u5f28gozp9iI0Qyvbg4AoiWiWWeYTLbBjA=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=Xtb8HwCU1RvZvKuIEgwTgSrMG5ImCqDy8rcdfD8+dnV3eYi681hfB9onM5DAwtZVJh2Voc6nA27iHzag/EzUgJTkp9CPKV65LhtCjVzhQaukGcoaJrMg2sMTHa70Xpi+ILu7a6TFIZGa1YWV5wf+BVAG1UAndEFcqXI56SWygCc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.191 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.17]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4VCqpV4yC6z1hwMm; Mon, 8 Apr 2024 21:35:14 +0800 (CST) Received: from dggpemm500005.china.huawei.com (unknown [7.185.36.74]) by mail.maildlp.com (Postfix) with ESMTPS id BC7621A0172; Mon, 8 Apr 2024 21:38:04 +0800 (CST) Received: from [10.69.30.204] (10.69.30.204) by dggpemm500005.china.huawei.com (7.185.36.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 8 Apr 2024 21:38:04 +0800 Subject: Re: [PATCH net-next v1 01/12] mm: Move the page fragment allocator from page_alloc into its own file To: Alexander H Duyck , , , CC: , , David Howells , Andrew Morton , References: <20240407130850.19625-1-linyunsheng@huawei.com> <20240407130850.19625-2-linyunsheng@huawei.com> <30a6635dedf305e23e623c501e614e55bca1ab41.camel@gmail.com> From: Yunsheng Lin Message-ID: <6d6a5225-3c4c-7071-7a9b-8b3706cbdeff@huawei.com> Date: Mon, 8 Apr 2024 21:38:04 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <30a6635dedf305e23e623c501e614e55bca1ab41.camel@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500005.china.huawei.com (7.185.36.74) On 2024/4/8 1:42, Alexander H Duyck wrote: > On Sun, 2024-04-07 at 21:08 +0800, Yunsheng Lin wrote: >> Inspired by [1], but use free_unref_page() to replace free_the_page() >> instead of __free_pages(), use VM_BUG_ON() to catch that we can use >> free_unref_page() directly, also add its own header file. > > Instead of doing this all as one patch it would be better to split this > into 2. Make the refactor first, and then move the code. Don't do it > all in one patch. Sure, will split this into 2 patches, thanks.