grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] improve grub_mm_init_region() debug message


From: Marco Gerards
Subject: Re: [PATCH] improve grub_mm_init_region() debug message
Date: Mon, 21 Jan 2008 18:42:42 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Robert Millan <address@hidden> writes:

> On Mon, Jan 21, 2008 at 06:02:20PM +0100, Marco Gerards wrote:
>> Robert Millan <address@hidden> writes:
>> 
>> > On Tue, Jan 15, 2008 at 12:42:39PM -0500, Pavel Roskin wrote:
>> >> 
>> >> On Tue, 2008-01-15 at 18:17 +0100, Robert Millan wrote:
>> >> > -  grub_dprintf ("mem", "Using memory for heap: addr=%p, size=%u\n",
>> >> > addr, (unsigned int) size);
>> >> > +  grub_dprintf ("mem", "Using memory for heap: start=%p, end=%p\n",
>> >> > addr, addr + size);
>> >> 
>> >> Maybe addr+size-1 would be better?  Inclusive boundaries are more
>> >> intuitive.  Just run "cat /proc/iomem" to see what I mean.
>> >
>> > Sounds better to me.
>> >
>> > Does this change (with addr + size -1) sound fine to everyone else?
>> 
>> Why not showing both the range and the size.  Isn't the size useful
>> sometimes?
>
> When?  What you typicaly want to debug is whether your mem region overlaps
> with something else, or so.

Well, it is fine for me.  If I need the size, I will bring this up
again.  Feel free to commit the patch as suggested.

--
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]