Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755671AbcCWOis (ORCPT ); Wed, 23 Mar 2016 10:38:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:33751 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755468AbcCWOiq (ORCPT ); Wed, 23 Mar 2016 10:38:46 -0400 Subject: Re: [PATCH 3/6] mm/memory_hotplug: add comment to some functions related to memory hotplug To: js1304@gmail.com, Andrew Morton References: <1457940697-2278-1-git-send-email-iamjoonsoo.kim@lge.com> <1457940697-2278-4-git-send-email-iamjoonsoo.kim@lge.com> Cc: Rik van Riel , Johannes Weiner , Mel Gorman , Laura Abbott , Minchan Kim , Marek Szyprowski , Michal Nazarewicz , "Aneesh Kumar K.V" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Joonsoo Kim From: Vlastimil Babka Message-ID: <56F2AA74.6070808@suse.cz> Date: Wed, 23 Mar 2016 15:38:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <1457940697-2278-4-git-send-email-iamjoonsoo.kim@lge.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 516 Lines: 12 On 03/14/2016 08:31 AM, js1304@gmail.com wrote: > From: Joonsoo Kim > > __offline_isolated_pages() and test_pages_isolated() are used by memory > hotplug. These functions require that range is in a single zone but > there is no code about it because memory hotplug checks it before calling > these functions. Not to confuse future user of these functions, > this patch adds comment on them. > > Signed-off-by: Joonsoo Kim Acked-by: Vlastimil Babka