Skip to content
  • Nick Piggin's avatar
    x86: reduce CONFIG_X86_PPRO_FENCE bloat · fb0328e2
    Nick Piggin authored
    
    
    CONFIG_X86_PPRO_FENCE bloats text:
    
    i386 allmodconf: size mm/built-in.o
               text    data     bss     dec     hex         text ratio
    vanilla: 163082   20372   40120  223574   36956          100.00%
    bugfix : 163509   20372   40120  224001   36b01            0.26%
    noppro : 162191   20372   40120  222683   365db         -  0.55%
    both   : 162267   20372   40120  222759   36627         -  0.50% (+0.05% vs noppro)
    
    So with the ppro memory ordering bug out of the way, the PG_uptodate fix
    only adds 76 bytes of text.
    
    allow this config to be specified by distros.
    
    [ mingo@elte.hu: x86.git merge ]
    
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    fb0328e2