Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1762532imm; Thu, 2 Aug 2018 00:07:26 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcW9nz4l3fL1tHkSYJnEoEPMWxOMc7IZo0lyZYKmj3WzQi9kqMYhhzW3FTXzr5ydv+796QY X-Received: by 2002:a17:902:bd97:: with SMTP id q23-v6mr1304259pls.311.1533193646170; Thu, 02 Aug 2018 00:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533193646; cv=none; d=google.com; s=arc-20160816; b=jwNF7PLPzVvjwBox6V5r2NmloCDdqYg4gWIQxUHfQxF7ICcnStGg4d3nQRc/ov30bE ooEMBDKDUc6v78oViveZvbY9ttLvev6Lxx5A1EFw22x9hewGaDjJ0RPqoISGD3ymL+eZ 2HtIj9+PXuegHorIl/VLFRsSbCyMrNpJ6tfhp1xWPyLGZuYffA+KNolq5GUb6Sx3Nw2f uj8foSGNR1zGUCSQyI6svbi4Sf5x7YmSE2jF9iuryMVUSFBj1nMIKMmg3wU2qTX53GWR LIshOGIXWiBAButm/AYl99isp9oOLyqArQYLP+NrVm74S2doeU3hNjlXN9lJ57qjScKH q/xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=SU+zZnEQjtxFRnpybpCNUXvhhTXyG6FJ2BoDAz/C5iw=; b=cMZ74xxfYJfsDF2vO4r2eq6sc7pM5Qum9mGbRICCIbOEbdofEnhNojJRpzN0ppHlEc YceOugVpggZ878jhz3IOnbLET+vG2N2e2ulyZjowT1U3BTFFVHa4F9vNJZp9JhnSfHzA Z3kDsAPOCqf9kStWKs5W/KvfKdVEJCiNHVyqxYHxi6cCqvsMvBv1DPjyYAz1rzvZUpTC 1Cc7CvIrrImftP5vqHWaCxUwhF2fLV0nFJSNzIvCFqmnIkF97ca8UG/is7zl8LmVvlBh lqGKASZ4qhIjKOZWT8cHWlURjtmWO5BopUWiZsWtZ83eFwonmIbUcG+Osm+dlh5vqwQl qaCQ== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7-v6si993930pgp.411.2018.08.02.00.07.11; Thu, 02 Aug 2018 00:07:26 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729224AbeHBIzg (ORCPT + 99 others); Thu, 2 Aug 2018 04:55:36 -0400 Received: from mga07.intel.com ([134.134.136.100]:33090 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbeHBIzg (ORCPT ); Thu, 2 Aug 2018 04:55:36 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 00:05:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,434,1526367600"; d="scan'208";a="78047090" Received: from lftan-mobl.gar.corp.intel.com (HELO ubuntu) ([10.226.250.45]) by orsmga001.jf.intel.com with SMTP; 02 Aug 2018 00:05:47 -0700 Received: by ubuntu (sSMTP sendmail emulation); Thu, 02 Aug 2018 15:05:46 +0800 Message-ID: <1533193546.23760.0.camel@intel.com> Subject: Re: [PATCH 3/3] nios2: switch to NO_BOOTMEM From: Ley Foon Tan To: Mike Rapoport , Ley Foon Tan Cc: Rob Herring , Frank Rowand , Michal Hocko , nios2-dev@lists.rocketboards.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Date: Thu, 02 Aug 2018 15:05:46 +0800 In-Reply-To: <1530710295-10774-4-git-send-email-rppt@linux.vnet.ibm.com> References: <1530710295-10774-1-git-send-email-rppt@linux.vnet.ibm.com> <1530710295-10774-4-git-send-email-rppt@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDE4LTA3LTA0IGF0IDE2OjE4ICswMzAwLCBNaWtlIFJhcG9wb3J0IHdyb3RlOgo+ IFJlbW92ZSBib290bWVtIGJpdG1hcCBpbml0aWFsaXphdGlvbiBhbmQgcmVwbGFjZSByZXNlcnZl X2Jvb3RtZW0oKQo+IHdpdGgKPiBtZW1ibG9ja19yZXNlcnZlKCkuCj4gCj4gU2lnbmVkLW9mZi1i eTogTWlrZSBSYXBvcG9ydCA8cnBwdEBsaW51eC52bmV0LmlibS5jb20+Cj4gLS0tCj4gwqBhcmNo L25pb3MyL0tjb25maWfCoMKgwqDCoMKgwqDCoMKgfMKgwqAyICsrCj4gwqBhcmNoL25pb3MyL2tl cm5lbC9wcm9tLmPCoMKgfMKgwqA3IC0tLS0tLS0KPiDCoGFyY2gvbmlvczIva2VybmVsL3NldHVw LmMgfCAzNyArKysrKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCj4gwqAzIGZpbGVz IGNoYW5nZWQsIDcgaW5zZXJ0aW9ucygrKSwgMzkgZGVsZXRp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