Thread (5 messages) 5 messages, 2 authors, 2011-07-02

Re: [PATCH 2/2] powerpc/mm: Fix memory_block_size_bytes() for non-pseries

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2011-07-02 14:15:26
Also in: linux-mm, lkml

On Sat, 2011-07-02 at 12:23 +0200, Ingo Molnar wrote:
It's certainly not a hard rule - but note that the file in question 
(arch/powerpc/platforms/pseries/hotplug-memory.c) has a rather 
inconsistent comment style, sometimes even within the same function:

        /*
         * Remove htab bolted mappings for this section of memory
         */
...

        /* Ensure all vmalloc mappings are flushed in case they also
         * hit that section of memory
         */

That kind of inconsistency within the same .c file and within the 
same function is not defensible with a "style is a matter of taste" 
argument.
Right, that's a matter of different people with different taste mucking
around with the same file I suppose.

Most of this probably predates my involvement as a maintainer but even
if not (and I really can't be bothered digging into the history), it
might very well be something I didn't pay attention to while reviewing.

Seriously, it's so low on the scale of what matters ... I'm sure we both
have more valuable stuff to spend our time and energy on :-)

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help