Re: init and zap low address mappings on demand for cpu hotplug

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

 



Ashok Raj <[email protected]> wrote:
>
> +/*
>  + * mode
>  + * 	0 indicates its for __cpu_up to kick an AP into boot sequence.
>  + *  1 indicates completion os smp boot process, so we can zap the low
>  + *    until there is need to bring a cpu up again.
>  + */
>  +__cpuinit void zap_low_mappings(int mode)

grump.  `mode' is a terrible identifier name.  Better to call it something
which identifies its meaning if true, such as `do_mapping_zapping' or
something.

Even better, implement two nicely-named functions rather than passing in a
`mode' argument.  Those functions can of course share a common
mode-selected implementation internally.


And that comment is incomprehensible, partly due to all its typos.  Care to
try again?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux