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 5756AC2BA80 for ; Thu, 9 Apr 2020 00:53:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1BA53208FE for ; Thu, 9 Apr 2020 00:53:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="QKaVHmmZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1BA53208FE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BE8E38E000D; Wed, 8 Apr 2020 20:53:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BBEF38E0006; Wed, 8 Apr 2020 20:53:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AFC928E000D; Wed, 8 Apr 2020 20:53:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0230.hostedemail.com [216.40.44.230]) by kanga.kvack.org (Postfix) with ESMTP id 967E38E0006 for ; Wed, 8 Apr 2020 20:53:14 -0400 (EDT) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 585D7A8E0 for ; Thu, 9 Apr 2020 00:53:14 +0000 (UTC) X-FDA: 76686492708.22.night26_5671d7e56c90a X-HE-Tag: night26_5671d7e56c90a X-Filterd-Recvd-Size: 2397 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf06.hostedemail.com (Postfix) with ESMTP for ; Thu, 9 Apr 2020 00:53:13 +0000 (UTC) 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 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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?