Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752862AbbDAHV1 (ORCPT ); Wed, 1 Apr 2015 03:21:27 -0400 Received: from mail-ob0-f182.google.com ([209.85.214.182]:35462 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751055AbbDAHVZ (ORCPT ); Wed, 1 Apr 2015 03:21:25 -0400 MIME-Version: 1.0 In-Reply-To: <20150331163808.6ffa50f3140b50828bd5dba8@linux-foundation.org> References: <1427562483-29839-1-git-send-email-kuleshovmail@gmail.com> <20150331163808.6ffa50f3140b50828bd5dba8@linux-foundation.org> Date: Wed, 1 Apr 2015 13:21:25 +0600 Message-ID: Subject: Re: [PATCH] mm/memblock: add debug output for the memblock_add From: Alexander Kuleshov To: Andrew Morton Cc: Martin Schwidefsky , Philipp Hachtmann , Fabian Frederick , Catalin Marinas , Emil Medve , Akinobu Mita , Tang Chen , Tony Luck , linux-mm@kvack.org, LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1089 Lines: 26 2015-04-01 5:38 GMT+06:00 Andrew Morton : > On Sat, 28 Mar 2015 23:08:03 +0600 Alexander Kuleshov wrote: > > I guess this should be "memblock_add:". That's what > memblock_reserve_region() does? > > --- a/mm/memblock.c~mm-memblock-add-debug-output-for-the-memblock_add-fix > +++ a/mm/memblock.c > @@ -587,7 +587,7 @@ static int __init_memblock memblock_add_ > { > struct memblock_type *_rgn = &memblock.memory; > > - memblock_dbg("memblock_memory: [%#016llx-%#016llx] flags %#02lx %pF\n", > + memblock_dbg("memblock_add: [%#016llx-%#016llx] flags %#02lx %pF\n", > (unsigned long long)base, > (unsigned long long)base + size - 1, > flags, (void *)_RET_IP_); > _ > Yes, it is much cleaner. Thank you Andrew. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/