Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1740294imm; Thu, 9 Aug 2018 00:52:02 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzTh1pT9ptnihOvbqeq21BvnlkgxrRBtL+U+f2qA4lsuIHOyasNiW6QXv0hbkKBae2pq4r0 X-Received: by 2002:a65:58c8:: with SMTP id e8-v6mr1093593pgu.96.1533801122624; Thu, 09 Aug 2018 00:52:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533801122; cv=none; d=google.com; s=arc-20160816; b=vGGDCSIPUz1AJ5jDQ8BDoYNYL3q1iyPGpKIp2QnpatKGkd3Fr8U+vNyqd/0DI0Oz2L osW280dyrad0E+e5pkv2+C60Cziceia0Bmecp9/PWZARIPkblHpFnExntOq2XlDabOoa XyqC45VeRGS09WuUOX0RiRBKy6ota7oUvFbwZlsRgh7yyW1PH8FcKvUHLilBR3xZiUvZ NJ4SdHLdA7AUr3iNLqB4UHiYpvDIccmMYG0hI7gHbDLWEjmKB8CuF7RNdxWYgalGtTsF F9yFO4BG4pGPSVPne1YO55pcv8U4gVjvBU+hrHyZ5CzN5if/IvzFHwvtRKOXNKFSemXA mYwA== 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:arc-authentication-results; bh=fzxT2uBGl044gO/2OlMmNiPotKOKBWgF7s3uztFhMzk=; b=qy3rZORUjkDKZmn8U8tjZRZqNsT4DI98DwPjeQEK9etT5SOwMdCACWAxKw/HIthKIk 82nPgUp5b/+g9bJ2V+Vv045CCQAKNMExHi7JJkKPR/e+A3nj5EjMCGf1ERu0Q7PrVqHG rKHIveWvepSJguQW51xy+kX01UEIlia1SZsZ078W05ETtkpeF3wkcCTcEJjXC+bsQyno iWS7t8O8QbuyohvAJ93Axi45Qu0HCHvvbVhHIPW8AEwEiSMknnkiehz+UCl2GpTJ6K+U s8hjBJXxCimZ0XOomeBRZ4qbo23bary6E0efYU8VkQGRKG7Pdb2aeD3UXvN6V8RI1dGS t5zg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2-v6si6779364pgk.330.2018.08.09.00.51.47; Thu, 09 Aug 2018 00:52:02 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728730AbeHIKOe (ORCPT + 99 others); Thu, 9 Aug 2018 06:14:34 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35982 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727563AbeHIKOe (ORCPT ); Thu, 9 Aug 2018 06:14:34 -0400 Received: by mail-wm0-f68.google.com with SMTP id w24-v6so5401600wmc.1 for ; Thu, 09 Aug 2018 00:50:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=fzxT2uBGl044gO/2OlMmNiPotKOKBWgF7s3uztFhMzk=; b=tCroOfyYOYcDRUeBC0WPhkJELhaYtJKuDaZ8j6NZvjkfBX9nyZabDBwVBMe+PgSMNu vNV1M0/GnrjWD1x/+Ouo/IXFoZuNnTJbDsGrIuuwOAnGpt8neyKVb41ixM0J0eqO4t5o 0m/I6suo8YTytWShYs2Kv5YiBhNSlvcf107Wc/bgUTl8V3SjH7Ul0dsvraYLorBah76B VkKDnpBQjMnov2DuFoWGNV4cBsJi2NDwiqGlidcL+FYoCbwZQH1UQdMtmS8NHSHT9Ekf BUGEL+ooCRUOuEdoD5XrTZ5TcWYzmQ1Kr7mhr/3zy/i+krU1FehG79RjyKOwoyWBgXRC /AGA== X-Gm-Message-State: AOUpUlG6GPIwgDJGe2zCr5EDgt/4UW2dMBy/CoHLLExIIMYXFX8DEBWi 5VoHH7SBe4aancyX80bxPfc= X-Received: by 2002:a1c:b709:: with SMTP id h9-v6mr902741wmf.104.1533801056920; Thu, 09 Aug 2018 00:50:56 -0700 (PDT) Received: from techadventures.net (techadventures.net. [62.201.165.239]) by smtp.gmail.com with ESMTPSA id b2-v6sm6481226wmh.3.2018.08.09.00.50.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Aug 2018 00:50:56 -0700 (PDT) Received: by techadventures.net (Postfix, from userid 1000) id 8CBA61247B9; Thu, 9 Aug 2018 09:50:55 +0200 (CEST) Date: Thu, 9 Aug 2018 09:50:55 +0200 From: Oscar Salvador To: Jerome Glisse Cc: David Hildenbrand , akpm@linux-foundation.org, mhocko@suse.com, dan.j.williams@intel.com, yasu.isimatu@gmail.com, logang@deltatee.com, dave.jiang@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Oscar Salvador Subject: Re: [RFC PATCH 2/3] mm/memory_hotplug: Create __shrink_pages and move it to offline_pages Message-ID: <20180809075055.GA14802@techadventures.net> References: <20180807204834.GA6844@techadventures.net> <20180807221345.GD3301@redhat.com> <20180808073835.GA9568@techadventures.net> <44f74b58-aae0-a44c-3b98-7b1aac186f8e@redhat.com> <20180808075614.GB9568@techadventures.net> <7a64e67d-1df9-04ab-cc49-99a39aa90798@redhat.com> <20180808134233.GA10946@techadventures.net> <20180808175558.GD3429@redhat.com> <20180808212908.GB12363@techadventures.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180808212908.GB12363@techadventures.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 08, 2018 at 11:29:08PM +0200, Oscar Salvador wrote: > On Wed, Aug 08, 2018 at 01:55:59PM -0400, Jerome Glisse wrote: > > Note that Dan did post patches that already go in that direction (unifying > > code between devm and HMM). I think they are in Andrew queue, looks for > > > > mm: Rework hmm to use devm_memremap_pages and other fixes > > Thanks for pointing that out. > I will take a look at that work. Ok, I checked the patchset [1] and I think it is nice that those two (devm and HMM) get unified. I think it will make things easier when we have to change things for the memory-hotplug. Actually, I think that after [2], all hot-adding memory will be handled in devm_memremap_pages. What I do not see is why the patch did not make it to further RCs. Thanks -- Oscar Salvador SUSE L3