Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3435530imm; Tue, 17 Jul 2018 04:58:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpccS+NnQL5YoZ2SqqjKQid6Rx8eYPIqboQBa0/MXOnyOAeXIZpNeCljZaBLMTS+emSXdwRV X-Received: by 2002:aa7:86d7:: with SMTP id h23-v6mr393072pfo.132.1531828739440; Tue, 17 Jul 2018 04:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531828739; cv=none; d=google.com; s=arc-20160816; b=iqydy/zAOln9ndj7tYSl9DihNRrdQph/4hBsxCotK9FS5wBBfXuch4uQy3kIkaog/O lwbS0gWnBbqd/BxWX77jgQfe/SzCJUjoRis7v0KgtnOrRCNOFgQC7g5Q0lvmmy470MsE 1smE8s+5mnHlzVbh3gcaYMauSSVWDfEt4C0guCQrKhLkIF2G+11epND0K0CsBliEuyDL 9W0b9ASic+eZ4jtOd4lEgErJGQlxMKn6pf2DoPArdJTGvwaSpxLSouEhYTRqDmw9v1fp HNEGO86tLTNeXaxHmCPVma33VIwFiv4UTrYqN0Ccgn6RQNOoJTjom6+fYS7uUPgh0Idj OzqQ== 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=Tyc14wxRCNCNPOBFh0CGc/GvJYimr0Gn2AUEf56nqAw=; b=jmKAx9GcJTw50r987Fmohw8qZPWyGQd8CcSHCC+0qgvq/vHtTYIS8PVElL8g456Og/ cVp4fQBqf/BTmTCg+CFvHhOoeSW5vFGm2vAh9ZFJPy9w37hWb21pzLW8qShZuvRfU+Ip 9TIg2iFUeiT80hFEn5lTGqjyP8ZLRTshZX7Y3PekiPI0PawskKd2de96QQ4TegzpMB5E 8/NkSvAuLVnyIBlSsZL4lhLGDq5Z0W3dYMvep/UD5p2jFbujIj8RABuwSq7F55nzB/Yj 7Yb8Js0vEZeRYiSGb2hoTevj/7M8AuW0tgNyU5tiKnUghbaqLkIOaJhYRMIriykFaYb/ mCYg== 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 i1-v6si822581pfa.219.2018.07.17.04.58.44; Tue, 17 Jul 2018 04:58:59 -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 S1731248AbeGQMaQ (ORCPT + 99 others); Tue, 17 Jul 2018 08:30:16 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33753 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731175AbeGQMaQ (ORCPT ); Tue, 17 Jul 2018 08:30:16 -0400 Received: by mail-wr1-f68.google.com with SMTP id g6-v6so994027wrp.0 for ; Tue, 17 Jul 2018 04:57: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=Tyc14wxRCNCNPOBFh0CGc/GvJYimr0Gn2AUEf56nqAw=; b=tSso/Xx6lFKlgmBZbbM/d0vdjWApByq0xo6GCbRiOUwf7XTkuTU1StOGld/n26rwg5 5XprThcsKntT9OK+mgVj1O07ogDmPBaLOmM3Tx7H8qHBs3gKp9Hd//esEZkbA/GLBqlz cl4NPx5TqOf9gEJR1sXxTf4ct9yFS9UrHxiOJI7dxEJUUp7/L4Iw1vByWw75oR8MvpDz MktYIA2T4bPqejSwQ0WpPLlMUAWlnxAwwhLBqEIKEEWeMuoyz0uthqI8r9yChfaSNKAM NohA9OvNVzLTLi2SAeyBXhkIRG8A4q8+FychAsjw/WNkMJKXWxsFSHGuj8tmn02VDZCp ecXQ== X-Gm-Message-State: AOUpUlGv2HmzI9oT3FnkRhXOFoFwdDs70+85kgCYVk/mlANYM7kcA3hi +dsdJTvm4KI8E4H3sXOUrrs= X-Received: by 2002:adf:93a3:: with SMTP id 32-v6mr1146803wrp.140.1531828676551; Tue, 17 Jul 2018 04:57:56 -0700 (PDT) Received: from techadventures.net (techadventures.net. [62.201.165.239]) by smtp.gmail.com with ESMTPSA id o13-v6sm765058wmc.8.2018.07.17.04.57.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jul 2018 04:57:55 -0700 (PDT) Received: by techadventures.net (Postfix, from userid 1000) id 4BD2512401C; Tue, 17 Jul 2018 13:57:55 +0200 (CEST) Date: Tue, 17 Jul 2018 13:57:55 +0200 From: Oscar Salvador To: Pavel Tatashin Cc: steven.sistare@oracle.com, daniel.m.jordan@oracle.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, kirill.shutemov@linux.intel.com, mhocko@suse.com, linux-mm@kvack.org, dan.j.williams@intel.com, jack@suse.cz, jglisse@redhat.com, jrdr.linux@gmail.com, bhe@redhat.com, gregkh@linuxfoundation.org, vbabka@suse.cz, richard.weiyang@gmail.com, dave.hansen@intel.com, rientjes@google.com, mingo@kernel.org, abdhalee@linux.vnet.ibm.com, mpe@ellerman.id.au Subject: Re: [PATCH v6 2/5] mm/sparse: use the new sparse buffer functions in non-vmemmap Message-ID: <20180717115755.GC24361@techadventures.net> References: <20180716174447.14529-1-pasha.tatashin@oracle.com> <20180716174447.14529-3-pasha.tatashin@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180716174447.14529-3-pasha.tatashin@oracle.com> 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 Mon, Jul 16, 2018 at 01:44:44PM -0400, Pavel Tatashin wrote: > non-vmemmap sparse also allocated large contiguous chunk of memory, and if > fails falls back to smaller allocations. Use the same functions to > allocate buffer as the vmemmap-sparse > > Signed-off-by: Pavel Tatashin Reviewed-by: Oscar Salvador Thanks -- Oscar Salvador SUSE L3