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=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 781AEC433DB for ; Tue, 19 Jan 2021 15:51:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1093820780 for ; Tue, 19 Jan 2021 15:51:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1093820780 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 46E016B0006; Tue, 19 Jan 2021 10:51:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 41FA56B000A; Tue, 19 Jan 2021 10:51:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 35AF96B000C; Tue, 19 Jan 2021 10:51:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0112.hostedemail.com [216.40.44.112]) by kanga.kvack.org (Postfix) with ESMTP id 1C4B06B0006 for ; Tue, 19 Jan 2021 10:51:57 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 766DE3646 for ; Tue, 19 Jan 2021 15:51:56 +0000 (UTC) X-FDA: 77722965432.07.death11_1b0a0d527553 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin07.hostedemail.com (Postfix) with ESMTP id 530BC1803F9AA for ; Tue, 19 Jan 2021 15:51:56 +0000 (UTC) X-HE-Tag: death11_1b0a0d527553 X-Filterd-Recvd-Size: 4039 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by imf33.hostedemail.com (Postfix) with ESMTP for ; Tue, 19 Jan 2021 15:51:55 +0000 (UTC) Received: by mail-pf1-f180.google.com with SMTP id q131so2134922pfq.10 for ; 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=kx/siDx77er0UoUJESINqJ3w2PWnntQ8pBJeZ+baqcMnJmZ1lAF7mAXlJ0ZDQY6HNU xhy6oq7ObontS504syj4aZKbNBYrQ/BFU8YGH7ZR2YnX1uZwpeVsqvSc6xi/gz/MFMVE e0K4ibX2T2/iu1rEZ/b67F9hYsqgrCb7N7947OAKixlQ0P+9f5QU7etbljimqDBJwwjC bJAZT66OGR4QOesoER5FI/BS28L/hi6BnNst/fkckUoMG41OBz4E6GTJAUOXmGiqv1t1 CgOR7C+ddF9NBA+TxtPv2YeyzK70f6Eatp3mVDplU8xQbW6+1G0lOYO3ZyAWzGx0Ylux iW2Q== X-Gm-Message-State: AOAM532atKy265eK/uqbIex8KvQEJVl5HMuPraHLAaKqIbWq2qDjx6Vl DXZqxUHlkJYV5MJ82ci1rzw= X-Google-Smtp-Source: ABdhPJyIr1aZov1YBsbDAEgjuC6i0+b3UdroSmkUYkfVGPf5O/G+0lPpjcSTJae7Ou5RcNlfOjI74Q== 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) 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> 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, 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.