Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1503333iob; Thu, 19 May 2022 08:00:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/i6ntfp37sV7qO4aBPRaYouBTzAWgVR5ieCjgr5cu89jOEI3uqB7XV6QJr8XO9BmRn938 X-Received: by 2002:a17:903:124b:b0:15e:84d0:ded6 with SMTP id u11-20020a170903124b00b0015e84d0ded6mr5016282plh.141.1652972454853; Thu, 19 May 2022 08:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652972454; cv=none; d=google.com; s=arc-20160816; b=VkhkO3gG9mTEVjQdGnNtKAL+4D9kGczCUjNTPrYhSbMHMN6X/JZEEE1nxg32nhNLCL mtsQX1jPqW9uwEi59AcPYKhQUwVkPbbqY/XB8N8cOs9IsFU523/1lEK5xcYzugNu6teK TiO5f7lwTnUiS4YjO/y/HV9XX9JSvr+cHqfllZpp704lRlzzsuaXEhFTV+PKvXdW/8ou RVGZAfJKtglN/KrqPA4WZDdgVzA9pN4GV2ydeSPeKP7DKLOPMxdjbnjqM1ZqspYmcr28 XZoImqxU5CM6henx19v3/z3pDxsSDo25VYs8OtEWxyYDM7ZEZlLvYZcXlRY4RL2kYv5Q zBkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=5v69tt0poso7u/5TxNchjewsqzEL8s/6tkZb77fHHps=; b=lgMR/2LJSNkd1YM7Oe4OawFMKSJcWLytXyCMUPY8eco/bEwU/q7cKpUGTaMxPdS+UA NRgB3suuhqaBI6wNyutWiZH9kxbAwu6HD/wC3wzg2MIEGrjk3pVpxGcyy7puSC8txV60 9ez7rwMgEQmVbI6j1IrwCAvz0pkVhmv0vG5cWflkSyH78KXzLK4E5L4h360RgRhRljJz Mg/VZmmjMz3dvCEZRgRWKVQSW/JwDm44LDomToCNjGhngaxTcHpg9k2mDLwqa9z/xTek iVJB80XydEC4w3+GbFOkW2O4CfDKVwvpMbUuOR4wK09H80+f50SvmwX3UkGODAH+DO/O MSsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=dmREJdR6; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u7-20020a056a00098700b004fa3a8dffa3si7262048pfg.90.2022.05.19.08.00.41; Thu, 19 May 2022 08:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=dmREJdR6; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236098AbiESJhE (ORCPT + 99 others); Thu, 19 May 2022 05:37:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235874AbiESJhB (ORCPT ); Thu, 19 May 2022 05:37:01 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A6B35FF0E for ; Thu, 19 May 2022 02:37:00 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id E28221F86A; Thu, 19 May 2022 09:36:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1652953018; h=from:from:reply-to: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=5v69tt0poso7u/5TxNchjewsqzEL8s/6tkZb77fHHps=; b=dmREJdR6B3AP/cB/0Kd65Vy5UzBxaJI7cbu32s6aNS5AFXe4UeMMWYEwH02PqMDaqPRuH3 kgEhrrNBToPPwr1qEzVQdVlFjtTn5GtbcqWPH0QDGT+b6uFlSwqbA8ptZcRtDnrFwti9F6 cHid85T2JlIaAKr8NZemvBaHU320RWY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1652953018; h=from:from:reply-to: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=5v69tt0poso7u/5TxNchjewsqzEL8s/6tkZb77fHHps=; b=glie/XVn96aJ4BwUMLuLFvjDtNOmxZn6uBEEy4Pbqdf4Q9eMXS/s7Xb3137Fvhnxxb3Pk7 7KXcDRwYMdxGc8Dw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B358F13456; Thu, 19 May 2022 09:36:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id phnRKroPhmKmMQAAMHmgww (envelope-from ); Thu, 19 May 2022 09:36:58 +0000 Message-ID: <8e4ae2e2-6bcb-b552-4813-879b31fce5a6@suse.cz> Date: Thu, 19 May 2022 11:36:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH 1/6] mm/page_alloc: Add page->buddy_list and page->pcp_list Content-Language: en-US To: Mel Gorman , Andrew Morton Cc: Nicolas Saenz Julienne , Marcelo Tosatti , Michal Hocko , LKML , Linux-MM References: <20220512085043.5234-1-mgorman@techsingularity.net> <20220512085043.5234-2-mgorman@techsingularity.net> From: Vlastimil Babka In-Reply-To: <20220512085043.5234-2-mgorman@techsingularity.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/12/22 10:50, Mel Gorman wrote: > The page allocator uses page->lru for storing pages on either buddy or > PCP lists. Create page->buddy_list and page->pcp_list as a union with > page->lru. This is simply to clarify what type of list a page is on > in the page allocator. > > No functional change intended. > > [minchan: Fix page lru fields in macros] > Signed-off-by: Mel Gorman > Tested-by: Minchan Kim > Acked-by: Minchan Kim Acked-by: Vlastimil Babka