[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+8MBbLrNq7Au8wsARCjXWzhaYCKimvf5soEw_tbX0gdSDBdUg@mail.gmail.com>
Date: Thu, 7 May 2015 10:41:43 -0700
From: Tony Luck <tony.luck@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: [PATCH 2/3] mm/memblock: Allocate boot time data structures from
mirrored memory
On Wed, May 6, 2015 at 4:30 PM, Andrew Morton <akpm@...ux-foundation.org> wrote:
> Gramatically, a function called "memblock_has_mirror()" should return a
> bool. This guy is misnamed. "memblock_mirror_flag()"?
My misnaming is worse than that ... the intent here is to check
whether there is any
mirrored memory in the system ... i.e. should we go looking around
among memblocks
for mirrored memory - or is that a futile quest. Most systems won't
have any mirror
memory - so we won't want to spam the console logs with a ton of messages about
not being able to allocate mirrored memory.
I'll rename it to "system_has_mirror_memory()".
I'll fix all the other things too and re-spin. Keeping to 80 columns
might be challenging in some places.
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists