Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp745238yba; Thu, 9 May 2019 05:24:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsAmoMNq+evwCKyT9BMrwA/rueuhGOc4Ilht8STzdFza5JTSoVoIqpLsXcSOFjMmFhCELl X-Received: by 2002:a63:5d46:: with SMTP id o6mr4979149pgm.217.1557404683088; Thu, 09 May 2019 05:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557404683; cv=none; d=google.com; s=arc-20160816; b=tNS8hDsjrM8UIkZvTFDApKYIdiv5JkcJTUQ2CaD2LIYVeofh0Q46Q7yqedZihpGvVD mMr5QZCzHlWjHWgMQbU2fOwkiSiPoVy5zgfM4qBovtviGgJ4g9wQCljuErxpN4ICTbMd gGh//o/eKrTSxoQaB/ksDEJtOmn4HlbnWivzmrelafRKfm2U82bBo9OXqvTPul0w3ewV PzmOQSdolYwFNdszGHxb7m+Gwphkyd56zAUA0QT5S8C9vcVSp9Hhwgval7g/jT0ZXwyw 4+M6LwQoq6ML7HNGKIuc7lRhU4Vr45r7eJdX9fDnRO6oBN1ZCm4cbgMmfSS9INcVMfab oo2w== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=kK0i9uM3pyYFcRAwxUAkFyXbwheiX8gFOss9me4xCFo=; b=gSDfE7cEanRODpgeESq4smmsjwmJo0sPZi/5XiaOPTK+bp4kyi6xoKQEE5SME8u/lQ 8fgPcO3bSJBZ+JnlVsH5IhYcQUSRsNGBYgJuUIXXIK0ztICyIGwjo5LPq8lMeiGQDc/H f/G3xVJtEQ5ASEN4kQ0WzIca2GxruEMaHCKyfWgZW+EeQB3aUvdvlSJ1N5DPkrp705Ut d6V22K6wCwG8UG4zMsoMCtkaa6Z0qQ8oJ2P4bQtMqmueXn7NakMC33NtRQMfyB4MUIln ZJACcCxJ52JBkFuoLJEzCtaTs+ddI3+uOcyLfyP/r4VemlK6Dw4POVfLI0CQTFbKyPFX s91Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Qk8MMLe0; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34si2464486pgb.49.2019.05.09.05.24.26; Thu, 09 May 2019 05:24:43 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Qk8MMLe0; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726604AbfEIMXJ (ORCPT + 99 others); Thu, 9 May 2019 08:23:09 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:36480 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbfEIMXI (ORCPT ); Thu, 9 May 2019 08:23:08 -0400 Received: by mail-ed1-f67.google.com with SMTP id a8so1855317edx.3; Thu, 09 May 2019 05:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kK0i9uM3pyYFcRAwxUAkFyXbwheiX8gFOss9me4xCFo=; b=Qk8MMLe0+SuyWjMgP91XatGFW2t4dggZxTtSGYKpznsJLPVr8BcONtuSS7vK2+gf7K AOz8f2Re+43WGH4w2gU97ZACFASGwvlJ9BsYZk/I6zKhqxZtdFYrjX/38dnU40HQkh1U G4tN2R4s9R9CwWJ/bmndCbeWVPryUwwLWlbwiPDwH/eQq8vJx/xuBrsY/S0DY47vftPl beRNHavogoku7ouurr5Qk28cy6CYq3fUoDbbB7XwFqW/xUFQkGf9jzXQyPoxzYSR02oS LuXCyGRPIx2GXpfe/NaXJcWMPc29xGk8RCsL4VkdyzOoOb94p8cK40z5g0o66s7TUtCa IGkw== 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:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=kK0i9uM3pyYFcRAwxUAkFyXbwheiX8gFOss9me4xCFo=; b=gphytXu3nMoA3wHVO94KY1Hu2ucIJGUlmlHE5pBpK1Ixn7NMMEk02oPsGTuDOOwHkv yE9zsBNZ1SeFFGBA2J0x3otRfjvvC4qxGKOSXZu8Vg9yPPYN0FJ4Q7PevR+qbUfSL85+ uqmIwBI7M7DicAqjXTJiStZ7usutx1L2GnXRENSVPbxUGb3j+Th3KfVeGd2C1N20Kwve VNyJR78zHafjPpTb/wZkIonC9K52oMr2SoVOok0EOdnC022a+hAN9UZCsGX6Cu4FB1w3 j9ej9iFwyXd2/VFOtJSFK2ynGvEt1tMJYzv1Iz/ndWDjy6YLZyCRYEkzQsUTPErGUSDC eMhw== X-Gm-Message-State: APjAAAWZ9nJusvDtsjPbSJcWxiAfESOyNvKYoBxM+YG70NSIG48tAtDT DZ5vkCuKnQMeqPPyaSeE91U= X-Received: by 2002:a17:906:5013:: with SMTP id s19mr2949960ejj.203.1557404586529; Thu, 09 May 2019 05:23:06 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id c2sm299961eja.61.2019.05.09.05.23.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 May 2019 05:23:05 -0700 (PDT) Date: Thu, 9 May 2019 12:23:04 +0000 From: Wei Yang To: David Hildenbrand Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, akpm@linux-foundation.org, Dan Williams , Oscar Salvador , Michal Hocko , Pavel Tatashin , Qian Cai , Wei Yang , Arun KS , Mathieu Malaterre Subject: Re: [PATCH v2 1/8] mm/memory_hotplug: Simplify and fix check_hotplug_memory_range() Message-ID: <20190509122304.haksywk3p2ks6gcg@master> Reply-To: Wei Yang References: <20190507183804.5512-1-david@redhat.com> <20190507183804.5512-2-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190507183804.5512-2-david@redhat.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 07, 2019 at 08:37:57PM +0200, David Hildenbrand wrote: >By converting start and size to page granularity, we actually ignore >unaligned parts within a page instead of properly bailing out with an >error. > >Cc: Andrew Morton >Cc: Oscar Salvador >Cc: Michal Hocko >Cc: David Hildenbrand >Cc: Pavel Tatashin >Cc: Qian Cai >Cc: Wei Yang >Cc: Arun KS >Cc: Mathieu Malaterre >Signed-off-by: David Hildenbrand Reviewed-by: Wei Yang -- Wei Yang Help you, Help me