Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7441089imu; Mon, 3 Dec 2018 13:01:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/W4lDBowjdxa/jzG0QQ/g6mTwiZNUv5vFMaMKOZ8YucUhKFLckpDnEbbICCgiTCX4spwJlZ X-Received: by 2002:a63:6445:: with SMTP id y66mr14943198pgb.250.1543870863634; Mon, 03 Dec 2018 13:01:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543870863; cv=none; d=google.com; s=arc-20160816; b=D7KCgTD2GfqZT31m+ojupIhn8kcnMlUFdRcsO/i4kIKDc7gNc7JEpGAZ70UVMdhhj9 BpzEpJH/jEIBY/72KlorjuViQQE4XSGp2GnlnFKlhCkkdgQKJplW//caTkxmfnei6PBh LzSOAcK7gskX0i9+Tk7gPP0BYfAxYogXc5klTsAWvDNVVkvlmRJoOUtfEeKP5ck7qw3F 43GsIhjdXHVoKVWDfPDnC7Zbf+r3WcHe1kWV+BbxcXT/Wvmui8m09Nj9Hm/lkZ83ymFn tYliOrj5tEGVpfSW+9JKnE4HfRVd9twy3+WMHd/+J2MVcerROh0aqN+F0TjeZEekMefK E8nQ== 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=3TjY3JWxdN3/18b9FENgNpkOG6/DFzbiy3Q1rL9wrR4=; b=CdAKWK3gNxbl0acmgzWxtgcKVhFBVAxg9MBSRuyraPr1IJHLdNzbZl6+5p32waueeH vqk135SkqUnO3niG/FPscMzQgvqlIgE/AANuzytEw/v+cqWDWTDIaHJ0x3KGa6K8fhba L1uckDc1uLysln9GPIaMSTvChL2/QeTc8pEvwPoIDmFsmIYfx1SuffVXwhAzEqOgfZnf jvYATBSVe4p2gU9wENfNYpJ0LDulRb5VlYo1PVklyBifhebeDr5sTCp6BDO3UhirmFig K4QJdtPCWwSFkDwMjyBDL3tLsb/iDBOSSSrjC2Iel7UzBlWkOe1S3CttUnEUnc77Fh05 c9zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eK2EQLqr; 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 p5si13172343pga.352.2018.12.03.13.00.48; Mon, 03 Dec 2018 13:01:03 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eK2EQLqr; 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 S1726117AbeLCU6k (ORCPT + 99 others); Mon, 3 Dec 2018 15:58:40 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:37076 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725952AbeLCU6j (ORCPT ); Mon, 3 Dec 2018 15:58:39 -0500 Received: by mail-ed1-f66.google.com with SMTP id h15so12016054edb.4; Mon, 03 Dec 2018 12:58:38 -0800 (PST) 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=3TjY3JWxdN3/18b9FENgNpkOG6/DFzbiy3Q1rL9wrR4=; b=eK2EQLqrqT3U6tTkIigQ3nYIi9V+OJ9VoHQ72VljO5poz2VGk8+kJ8bmuXe650t1zs FAMYs6LUkL1DoBh+OV6D43igmhMAIjASg1eeGp32mJx+lUP4TKfQXlvdu5m3h3SvH5Hf gxNSRYKrOFEr8WpFftNNlJOwn5OUhMP3GiMH5UvcTz9Icgef7JfcbYlESseblzAyWdoN K5D84KrPmTzUCOY2XNaxUFBowoWUsV4cvRyGBjRrpCoKJ0xv7arXNu+iOR7g9Cvb2X0z acbwa8EzzLeilIVT1asrlBv0Ca+Sa+w5WnyFmPrsSkOtyqEhAUPevOa83ooUAkqd5qqe WwPA== 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=3TjY3JWxdN3/18b9FENgNpkOG6/DFzbiy3Q1rL9wrR4=; b=kjLV2G5azHAKxCyODevW1oVOtH/nhk045m67OeULnye6uabKd95CJmPJJRu7TEV0xd QbLoLjNi8l5j2pAJRYazFpLG+xDNcQ+vn2SfK5tMf7/aTswBF3vw47hBssXPbUm3Cqqz wreiHtV+HS0KWXYp9E06/2h9wF1367XB8sD+vkKKGSgKa3wJXtxMuCu1Q3vFg1urweqv hVS1sIUHPmyFLeirce63yHw/Iv3IgmFdYe+AkRwvSmtBj09NQYj76vu8rkp48DXxIfJK HN8eo8bc7S8wJRX95zoQ3+WYgsto6z1gIy/wHSMtoKdAn+CvCNN4+rrF8GD3GfiZuzGU PiDw== X-Gm-Message-State: AA+aEWbNp6IU7u7LG3htvGwXhwfeLc2TMOZV+RiZs1k7OFTtmWbgX48J D6AYAJnuM4CQtz7WI5kwqyQDCc9IDjk= X-Received: by 2002:a50:b0e5:: with SMTP id j92mr14813776edd.188.1543870717497; Mon, 03 Dec 2018 12:58:37 -0800 (PST) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id e53sm4158738ede.90.2018.12.03.12.58.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 12:58:36 -0800 (PST) Date: Mon, 3 Dec 2018 20:58:36 +0000 From: Wei Yang To: David Hildenbrand Cc: Wei Yang , 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, linux-acpi@vger.kernel.org, devel@linuxdriverproject.org, xen-devel@lists.xenproject.org, x86@kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Andrew Morton , Ingo Molnar , Pavel Tatashin , Stephen Rothwell , Andrew Banman , "mike.travis@hpe.com" , Oscar Salvador , Dave Hansen , Michal Hocko , Michal Such??nek , Vitaly Kuznetsov , Dan Williams , Pavel Tatashin , Martin Schwidefsky , Heiko Carstens Subject: Re: [PATCH RFCv2 1/4] mm/memory_hotplug: Introduce memory block types Message-ID: <20181203205836.7xpab6ljc3kngrqm@master> Reply-To: Wei Yang References: <20181130175922.10425-1-david@redhat.com> <20181130175922.10425-2-david@redhat.com> <20181201012507.lxfscl6ho3gc6gnn@master> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 [...] >>> >>> + if (type == MEMORY_BLOCK_NONE) >>> + return -EINVAL; >> >> No one will pass in this value. Can we omit this check for now? > >I could move it to patch nr 2 I guess, but as I introduce >MEMORY_BLOCK_NONE here it made sense to keep it in here. > Yes, this make sense to me now. >(and I think at least for now it makes sense to not squash patch 1 and >2, to easier discuss the new user interface/concept introduced in this >patch). > >Thanks! > >-- > >Thanks, > >David / dhildenb -- Wei Yang Help you, Help me