Re: Purpose of #if 0 in boot code

2017-01-01 Thread Alexander Hall
On Sat, Dec 31, 2016 at 05:03:18PM -0800, Nick Gonella wrote: > Hey Misc, > As I read through the code, especially in the boot code, there > seem to be quite a few blocks of code of the style: > > #if 0 > /* some code here */ > #endif > > On example of this is in sys/arch/amd64/amd64/pmap.c:2326

Purpose of #if 0 in boot code

2016-12-31 Thread Nick Gonella
Hey Misc, As I read through the code, especially in the boot code, there seem to be quite a few blocks of code of the style: #if 0 /* some code here */ #endif On example of this is in sys/arch/amd64/amd64/pmap.c:2326 #if 0 pool_cache_invalidate(&pmap_pdp_cache); #endif Obviously, this cod