git: ktr: Reduce number of early boot KTR entries to 256

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Apr 27 06:56:10 PDT 2015


commit 62b1893809d6044c94b58e94f76bdbbae4bf310b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Apr 27 20:52:02 2015 +0800

    ktr: Reduce number of early boot KTR entries to 256
    
    This prevents kernel or module loading failure due to excessive BSS
    usage if KTR_ENTRIES is large.
    
    While I'm here, staticize some global variables.

Summary of changes:
 sys/kern/kern_ktr.c | 37 ++++++++++++++++++++++++++++++-------
 1 file changed, 30 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/62b1893809d6044c94b58e94f76bdbbae4bf310b


-- 
DragonFly BSD source repository


More information about the Commits mailing list