From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2843FC2BB1D for ; Thu, 9 Apr 2020 00:53:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E8B2B208E4 for ; Thu, 9 Apr 2020 00:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586393595; bh=RSc+yL/VO14aC0/210vKAc1GSuXmJW4M6U6zQD4b218=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=vakemTG64dHyYXLCjiDWYPSjZH6lurqZC9z2OS8QE3/FUWB2k8E8d665w7UKYqped 3Bc35A8mw4ozW1kCsF90AzwaJZ7h4xznPqvCHw+V4JzQ3b3z/0e7E+qPy+2/JBMyNV 74ZwwK4HEa54cPliijXAoHXkJVUc4lWGIWN5kuTU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726626AbgDIAxN (ORCPT ); Wed, 8 Apr 2020 20:53:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:43700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726545AbgDIAxM (ORCPT ); Wed, 8 Apr 2020 20:53:12 -0400 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D5BAC20857; Thu, 9 Apr 2020 00:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586393593; bh=RSc+yL/VO14aC0/210vKAc1GSuXmJW4M6U6zQD4b218=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QKaVHmmZTVK06npEemcudHoYOCs2BsKd1rtjMEamtNH9TuaYl0m3r23pii1GGoB7w sGGggHbJca+Om5vA/10uh/w+qIkBiexKeIS2OUkSNvwzRGpLjFYZFdmfDGoV7RtWpk 6ioNgLu7cV57PV0gFVa1W7QbXe/CZUV5gg1GGtqc= Date: Wed, 8 Apr 2020 17:53:12 -0700 From: Andrew Morton To: Roman Gushchin Cc: Aslan Bakirov , Michal Hocko , , , , Rik van Riel , Mike Kravetz Subject: Re: [PATCH v5 1/2] mm: cma: NUMA node interface Message-Id: <20200408175312.14a055276b676edaefe636e2@linux-foundation.org> In-Reply-To: <20200407163840.92263-2-guro@fb.com> References: <20200407163840.92263-1-guro@fb.com> <20200407163840.92263-2-guro@fb.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Apr 2020 09:38:39 -0700 Roman Gushchin wrote: > From: Aslan Bakirov > > I've noticed that there is no interfaces exposed by CMA which would let me > to declare contigous memory on particular NUMA node. > > This patchset adds the ability to try to allocate contiguous memory on > specific node. It will fallback to other nodes if the specified one > doesn't work. > > Implement a new method for declaring contigous memory on particular node > and keep cma_declare_contiguous() as a wrapper. > > Signed-off-by: Aslan Bakirov > Acked-by: Michal Hocko This should have had your signed-off-by, as you were on the patch delivery path. Please send it along?