From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F25CFC433E0 for ; Thu, 18 Feb 2021 18:16:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3DAA764EAE for ; Thu, 18 Feb 2021 18:16:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3DAA764EAE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7EA1D6B0006; Thu, 18 Feb 2021 13:16:39 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7997A6B006C; Thu, 18 Feb 2021 13:16:39 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 687A56B006E; Thu, 18 Feb 2021 13:16:39 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0225.hostedemail.com [216.40.44.225]) by kanga.kvack.org (Postfix) with ESMTP id 4D5BD6B0006 for ; Thu, 18 Feb 2021 13:16:39 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 168578249980 for ; Thu, 18 Feb 2021 18:16:39 +0000 (UTC) X-FDA: 77832194118.18.debt75_0816ffa27657 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin18.hostedemail.com (Postfix) with ESMTP id DB51C100EC679 for ; Thu, 18 Feb 2021 18:16:38 +0000 (UTC) X-HE-Tag: debt75_0816ffa27657 X-Filterd-Recvd-Size: 3238 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by imf41.hostedemail.com (Postfix) with ESMTP for ; Thu, 18 Feb 2021 18:16:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613672197; 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=/532FGiDmXNyi77yaEvYqqbu5TAEWf0X1UPW7xyxBCc=; b=acQTWOfgO5a7vSTEywFumxdBxDc7L6T3i65ivoze42DkSeHNJ4xPxnbNQ6AAA1Qo/qg8g0 NzHxeSCwFw8YxAESKoIbXZIErBO4hxZXYx5HkhPxmO0PBRBmHI0hxVgInCVf8m7xvKw6mz BiPJdOW8cqR2Nw27cDQ+q5/XwtCTueY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-314-p5q90FIUPO--_3QHzV_axQ-1; Thu, 18 Feb 2021 13:16:35 -0500 X-MC-Unique: p5q90FIUPO--_3QHzV_axQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DC4921935780; Thu, 18 Feb 2021 18:16:33 +0000 (UTC) Received: from [10.36.114.59] (ovpn-114-59.ams2.redhat.com [10.36.114.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id AECC360BE5; Thu, 18 Feb 2021 18:16:31 +0000 (UTC) Subject: Re: [PATCH RFC 0/1] mm: balancing the node zones occupancy To: Charan Teja Reddy , akpm@linux-foundation.org, rientjes@google.com, vbabka@suse.cz, mhocko@suse.com, mgorman@techsingularity.net, linux-mm@kvack.org Cc: vinmenon@codeaurora.org, sudaraja@codeaurora.org, linux-kernel@vger.kernel.org References: From: David Hildenbrand Organization: Red Hat GmbH Message-ID: <82e0e9c2-8187-8e2f-0d5e-304dafcda017@redhat.com> Date: Thu, 18 Feb 2021 19:16:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 18.02.21 18:24, Charan Teja Reddy wrote: > I would like to start discussion about balancing the occupancy of > memory zones in a node in the system whose imabalance may be caused by > migration of pages to other zones during hotremove and then hotadding > same memory. In this case there is a lot of free memory in newly hotadd > memory which can be filled up by the previous migrated pages(as part of > offline/hotremove) thus may free up some pressure in other zones of the > node. Why is this specific to memory hot(un)plug? I think the problem is more generic: Assume 1. Application 1 allocates a lot of memory and gets ZONE_MOVABLE. 2. Application 2 allocates a lot of memory and gets ZONE_NORMAL. 3. Application 1 quits. Same problem, no? -- Thanks, David / dhildenb