lkml.org 
[lkml]   [2021]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 2/5] mm/cma: add cma_pages_valid to determine if pages are in CMA
On Thu, Oct 07, 2021 at 11:19:15AM -0700, Mike Kravetz wrote:
> Add new interface cma_pages_valid() which indicates if the specified
> pages are part of a CMA region. This interface will be used in a
> subsequent patch by hugetlb code.
>
> In order to keep the same amount of DEBUG information, a pr_debug() call
> was added to cma_pages_valid(). In the case where the page passed to
> cma_release is not in cma region, the debug message will be printed from
> cma_pages_valid as opposed to cma_release.
>
> Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
> Acked-by: David Hildenbrand <david@redhat.com>

Reviewed-by: OScar Salvador <osalvador@suse.de>


--
Oscar Salvador
SUSE Labs

\
 
 \ /
  Last update: 2021-10-08 09:55    [W:0.136 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site