Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp863946imu; Tue, 20 Nov 2018 08:06:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/XW7yFkuTzJaB80oCHfgJZrZeVm7BAX00eackWjQNWZdPgYyQ3c1w5fY8SkRgjL1XuFPkqg X-Received: by 2002:a17:902:8346:: with SMTP id z6mr2801983pln.340.1542729964235; Tue, 20 Nov 2018 08:06:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542729964; cv=none; d=google.com; s=arc-20160816; b=owHfOUAFfEXAbNG+u64j2uZbRCaqTh+yzm5SriDCTSarOfrJCgzCvT0nDNh9gWq6IZ QvPd7bIuiNSNCTLhU0THyUW2cQb9X0A2WxlTyTsFxV/GeP+Mvgf07KPSEvB8PamQx6Nc hs13jlPKTbnkNrcb7R5ssFpacCqsWQHBr5z67Vg14MRtfm/m8jbekzDeQbvjeC8gQlT9 2FfG6b7H6i/HS3p4DM1BMRyx4XxTVP/MEx7JWtsHAhnMFKUUME9p2IieAB9+o20F15MD SIt5t6+UuOYczE1yJWJQIgpz4GPZsSQV3gMRxIeQP8ooyA/a65iyeX/9qSd1vjNvpgep FRAA== 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=d69jEIVWV0T42OhsnY2RnqXyEcBj4sNsvoLsqko3M8g=; b=ZRWaEDya5Sf5jXM1wkiUvz1AK4yHa+nuLQ4Rn/0KSOc+UrluhH56zJ4EFwSjP4hZdO jPhMQS188tcfGJuVlNaBT3AfQK/sMcX0TyIZodXugSgr9l+4WR4DjJHJ6CMLRmW1rd3c 2UOaVUOhiVvoAu3CB7pr9FXsxswGE8uolRjjM6tQ3O/MxTdtTfrpiWJboMbOIM/3XBax PCl9kCfX9MvMOQhnmJExuEfgCNSUP+NzIt0wsN6ZXAh5z0To/L5RDMI+T7dkNVjGhu9W D78Rq+iqK0u4iXUy29KAtYpkA8Afr1be4y+BAuwDOpRHj0CrDK9oHPUf8QPcVDoAdAEC cG1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k186si26962428pgc.576.2018.11.20.08.05.48; Tue, 20 Nov 2018 08:06:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728037AbeKUBrq (ORCPT + 99 others); Tue, 20 Nov 2018 20:47:46 -0500 Received: from mx2.suse.de ([195.135.220.15]:43320 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725977AbeKUBrq (ORCPT ); Tue, 20 Nov 2018 20:47:46 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 338A0AF4D; Tue, 20 Nov 2018 15:18:07 +0000 (UTC) Date: Tue, 20 Nov 2018 16:18:06 +0100 From: Michal Hocko To: osalvador Cc: linux-mm@kvack.org, Andrew Morton , Pavel Tatashin , David Hildenbrand , LKML Subject: Re: [RFC PATCH 2/3] mm, memory_hotplug: deobfuscate migration part of offlining Message-ID: <20181120151806.GQ22247@dhcp22.suse.cz> References: <20181120134323.13007-1-mhocko@kernel.org> <20181120134323.13007-3-mhocko@kernel.org> <1542726815.6817.8.camel@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1542726815.6817.8.camel@suse.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 Tue 20-11-18 16:13:35, Oscar Salvador wrote: > > > Signed-off-by: Michal Hocko > [...] > > + do { > > + for (pfn = start_pfn; pfn;) > > + { > > + /* start memory hot removal */ > > Should we change thAT comment? I mean, this is not really the hot- > removal stage. > > Maybe "start memory migration" suits better? or memory offlining? I will just drop it. It doesn't really explain anything. [...] > > This indeed looks much nicer and it is easier to follow. > With the changes commented by David: > > Reviewed-by: Oscar Salvador Thanks! -- Michal Hocko SUSE Labs