Re: [PATCH 3/3] x86: OLPC: speed up device tree creation during boot (v2)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, November 18, 2010 - 1:34 am

* H. Peter Anvin <hpa@zytor.com> wrote:


That's why we sometimes use the (imperfect) compromise to put them in front of that 
function, not at the top of the file.

Look at the general balance of hardship: very little harm is done (it's not a big 
deal if a variable is only used in a single function) but having it with local 
variables can be _really_ harmful - for example i overlooked them when i reviewed 
this patch. I dont like important details obscured - i like them to be apparent. 
Again, this is something that some people can parse immediately on the visual level 
- me and many others cannot.

Thanks,

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3] x86: OLPC: speed up device tree creation d ..., Ingo Molnar, (Thu Nov 18, 1:34 am)
[tip:x86/olpc] x86, olpc: Speed up device tree creation du ..., tip-bot for Andres S ..., (Wed Dec 15, 7:58 pm)