Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1374044ybg; Thu, 11 Jun 2020 08:14:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPNEbuYb1aW/hOfs10bv2xlbO3EuLy0ptkFnJtYeBfYusREMU2sVj9uhRYrPcfJdIzriNF X-Received: by 2002:a17:906:81d7:: with SMTP id e23mr8970442ejx.462.1591888447915; Thu, 11 Jun 2020 08:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591888447; cv=none; d=google.com; s=arc-20160816; b=rULf793IhOZpZetJmcmBN2n161qvp9JHLPP2eOBBYeqFOS50yfLrd0BZSyktSZe/aB 7WLdSrDDj7l6nTJqiP6bLCj6ewkx/U93LtMsM+tXe2TTdvxRARYBNU+AIgD1UMPYY4I5 xupbIy+g3B2FluPGA/bbCBKn4QdjN887x266PWdqMad4+9WJ6Ccul68lZj7+UYD+pLH3 DFtwgIVEEtXhI3Ey0xRYugHnvROxEvTF+6Kvlwwa0NtUBjuz7Fqd0lUFBjqwIGfOdItT 4kEOuky9YaJqmtDHnxYjBXt7PbsIAwAlaXy0qj9Fb0YLcUxYl4Z7WjIQniLvYSQwT8+R SV5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=k+OgMUC/OEpA3y/ZVt08usu/DI4znY1tlhE+wOfpIG4=; b=BiCIST7UGVFCG4Vqa415dsArogauhK8kz41ixX92lZxaQyn6PgBLlZUJWVYKx058cC BvWxB1jbVqgdvDsMLDWTB7hzd44XnxYpaprqMknyDG+ZzIesB70xtYo9cSJSMoaz0ZEv 9ceIBElMz8cRKl9UWnPuekFn5QzLpXIrqK7MwXWMgMIAPQJBNSM6mE2UC1qF1sWqt59A 92N3Be/VpJzBM/KwHuntVC1LWiCinKn1CwiBNIhoTv3Lfu0gjlbSOKwriCorv3fGTOE9 K/A94XUjPAgL9q3FnSSnKcnY6ezHY0Dyo4jcqppYdsyMaSxA12LLk8eodAhb1oug0yLN 1Qhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r16si1949390eds.6.2020.06.11.08.13.44; Thu, 11 Jun 2020 08:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728441AbgFKPLV (ORCPT + 99 others); Thu, 11 Jun 2020 11:11:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:38604 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728327AbgFKPLV (ORCPT ); Thu, 11 Jun 2020 11:11:21 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4494FAD33; Thu, 11 Jun 2020 15:11:23 +0000 (UTC) Date: Thu, 11 Jun 2020 16:11:16 +0100 From: Mel Gorman To: Jaewon Kim Cc: Mel Gorman , Baoquan He , minchan@kernel.org, hannes@cmpxchg.org, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, jaewon31.kim@gmail.com, ytk.lee@samsung.com, cmlaika.kim@samsung.com Subject: Re: [PATCH] page_alloc: consider highatomic reserve in wmartermark fast Message-ID: <20200611151116.GE3129@suse.de> References: <20200609095128.8112-1-jaewon31.kim@samsung.com> <20200609142747.GA3346@MiWiFi-R3L-srv> <20200609151330.GL3127@techsingularity.net> <5EE18C38.3090601@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <5EE18C38.3090601@samsung.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 11, 2020 at 10:43:20AM +0900, Jaewon Kim wrote: > > That's fine, I simply wanted to illustrate where I thought the check > > should go to minimise the impact to the majority of allocations. > Hello Mel. > Can I understand that you also agrees on checking highatomic reserved? > Yes, I think it should be ok. > Additionally I've wondered why the number of highatomic free pages is not > accurately counted like cma free. Is there any concern on counting it? At the time, the cost of tracking it with 100% accuracy was not worth it due to a reliance on the pageblock types to protect the regions from other allocation types. -- Mel Gorman SUSE Labs