lkml.org 
[lkml]   [2015]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 2/5] mm: cma: add number of pages to debug message in cma_release()
    Date
    It's more useful to print address and number of pages which are being released,
    not only address.

    Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
    Acked-by: Michal Nazarewicz <mina86@mina86.com>
    ---
    mm/cma.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/mm/cma.c b/mm/cma.c
    index 63dfc0e..77960af 100644
    --- a/mm/cma.c
    +++ b/mm/cma.c
    @@ -439,7 +439,7 @@ bool cma_release(struct cma *cma, const struct page *pages, unsigned int count)
    if (!cma || !pages)
    return false;

    - pr_debug("%s(page %p)\n", __func__, (void *)pages);
    + pr_debug("%s(page %p, count %d)\n", __func__, (void *)pages, count);

    pfn = page_to_pfn(pages);

    --
    2.1.0


    \
     
     \ /
      Last update: 2015-03-16 17:21    [W:4.280 / U:0.636 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site