Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2878907pxb; Tue, 19 Jan 2021 08:13:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJwboI66OOA5S9/HarP+uEtisVyqeHTreFuey0NYt0O/aMpSrovktXpfdqVwzlzHB62jq6Xn X-Received: by 2002:a17:906:2743:: with SMTP id a3mr3577031ejd.378.1611072812779; Tue, 19 Jan 2021 08:13:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611072812; cv=none; d=google.com; s=arc-20160816; b=zfFfegpzrsg0WbBUIi6yzl2vVfBlrihF6kqvbAV+34AQbRYZKuuzvxwdIwiACoF5VZ /Cp7bP3/DXuZ5KdDu1zBxmUFnzsm+d6o62Sazw7dUroQ4/p/kZGNuUWxc9emnxlOtJ95 4BMf6aYdVHyn/UcCcMtgszyySGTHVsutK3Nda6Oi0OIc51+cXX5JsC2wc0kcYksP0OcT ag0kpHwkFZ4nCGKP9bKgmr37YNBA2Rmc3Vvxl0YrWk+Mstk28KhpSTaUoVlVa3d2G3Ue /6tLFqCfmz4BcSDpkdQJhckFad/p//AS2VyLJwY/9jWaxGTx84C4w/SNKN9JdeGszjTd zVDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=jGeJYEKHSWeoJcj5qAEZzduzYII6G03XjO2vsKZy9EA=; b=YttyivJPDo8YlQSM6xK6cFRlc0C0zEqPvq2olkggIxdeglHTGZTIWD8Wr9GVo4cEoS VMHAJRmmVyS//E1TTF22qUtZVD34ym5ngpiSYUhWi83UcheQS40F1anSSsfHkHsQPBPK tlC8GYSD2ZTxqUz5tiYzmRDn858zcJBivzARkZ3x+jS0IC3SlK8qEZiA0DVI/nslti2F F1LkVuVGbTrislqhOmEVvGmE9NAqrgSEs8Hb8gFUyMDuUI8FzrsZkFfYt0EF8Z9Ann9w 3H3a4M+6h5WwtLTI8bhSypDPieTGRJGQf1w6NQQ0HX0hMFV9XA2crRzzWu+q4A3P7bKN OOrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hJ0iWDtR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp21si6238126ejc.108.2021.01.19.08.13.09; Tue, 19 Jan 2021 08:13:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hJ0iWDtR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391754AbhASQKO (ORCPT + 99 others); Tue, 19 Jan 2021 11:10:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391433AbhASPwp (ORCPT ); Tue, 19 Jan 2021 10:52:45 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 641B8C061574; Tue, 19 Jan 2021 07:51:55 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id i63so5408102pfg.7; Tue, 19 Jan 2021 07:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=jGeJYEKHSWeoJcj5qAEZzduzYII6G03XjO2vsKZy9EA=; b=hJ0iWDtRDdsvNgT4hiugAwGjsUNhnUCdTvbXWk4iz/IOuvGZmbcvd16r0EnSkMqqnp QkQLl9bzqEgmLVsz0ItuuP6eTWk/sVER62hGsW0mDDRsLiExwHbDYT9ll5fJV4mKn8BP hN1ILSB4S0B5U/LwWcOoBp5jzIPPEG67Wd/akzffGALccvQxyg+CiSZor4lrXcwdKjHQ YTmTBZj5l1mclfnWNgreXQUnt38S6kwUXPv66RuvGNJpnfWVNOIO1P/5ArhQMphsPX32 RdXm9StV2ozHpE6ZZd78hBi9RpFCQtOkgrQCt5x4aFJFRKzRUMtPtjCR3ZihNQnR6kPJ iwfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=jGeJYEKHSWeoJcj5qAEZzduzYII6G03XjO2vsKZy9EA=; b=APDRGHHv1gP48mGq7RvcTUyN2ayM/7RY1QNNBuKD9xFFIrzurS+RZwdzVL30fmV9i4 RKBZkJD1dvy5YRgFAa7cjM48YDD3UCwu1tEc/FzJgru+EDfQUikdTVrhKLS/2hK8+e5O oNy/EMDhIQ3BTR265LNhVNPZzfAPtS58Hyn8DKL+be4d+Zs2Noy+LybTUj3Yfx0DycIy 8mZWtYEmpymOP5CeaAulBZDNm4Nbqs0IKClm8tAQ0l1gTBxc0LzldAsWab9iVeGc1StG ZhM66ECYv8KCGBDhaqMHVCsHnOfhEvTIk+yYCIAqmfgg01eUVkOwirsj16jL+2zsrRj5 0DTQ== X-Gm-Message-State: AOAM532ruegrAmCGEK91JlO5zpA1YaMkmGIKjksnbAGnqOh4aFHS/oct /wPSemgOLT75hFk1SpGz8ac= X-Received: by 2002:a63:605:: with SMTP id 5mr4916819pgg.144.1611071514834; Tue, 19 Jan 2021 07:51:54 -0800 (PST) Received: from google.com ([2620:15c:211:201:8d1f:e7:cd3c:db2f]) by smtp.gmail.com with ESMTPSA id a204sm5841762pfa.49.2021.01.19.07.51.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 07:51:53 -0800 (PST) Sender: Minchan Kim Date: Tue, 19 Jan 2021 07:51:51 -0800 From: Minchan Kim To: Andrew Morton Cc: linux-mm , LKML , hyesoo.yu@samsung.com, david@redhat.com, mhocko@suse.com, surenb@google.com, pullip.cho@samsung.com, joaodias@google.com, hridya@google.com, john.stultz@linaro.org, sumit.semwal@linaro.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, hch@infradead.org, robh+dt@kernel.org, linaro-mm-sig@lists.linaro.org Subject: Re: [PATCH v3 4/4] dma-buf: heaps: add chunk heap to dmabuf heaps Message-ID: References: <20210113012143.1201105-1-minchan@kernel.org> <20210113012143.1201105-5-minchan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210113012143.1201105-5-minchan@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2021 at 05:21:43PM -0800, Minchan Kim wrote: > From: Hyesoo Yu > > This patch supports chunk heap that allocates the buffers that > arranged into a list a fixed size chunks taken from CMA. > > The chunk heap driver is bound directly to a reserved_memory > node by following Rob Herring's suggestion in [1]. > > [1] https://lore.kernel.org/lkml/20191025225009.50305-2-john.stultz@linaro.org/T/#m3dc63acd33fea269a584f43bb799a876f0b2b45d > > Signed-off-by: Hyesoo Yu > Signed-off-by: Hridya Valsaraju > Signed-off-by: Minchan Kim DMABUF folks, It would be great if you guys give any comments.