Skip to content
  • Christoph Lameter's avatar
    slub: Remove CONFIG_CMPXCHG_LOCAL ifdeffery · 1759415e
    Christoph Lameter authored
    
    
    Remove the #ifdefs. This means that the irqsafe_cpu_cmpxchg_double() is used
    everywhere.
    
    There may be performance implications since:
    
    A. We now have to manage a transaction ID for all arches
    
    B. The interrupt holdoff for arches not supporting CONFIG_CMPXCHG_LOCAL is reduced
    to a very short irqoff section.
    
    There are no multiple irqoff/irqon sequences as a result of this change. Even in the fallback
    case we only have to do one disable and enable like before.
    
    Signed-off-by: default avatarChristoph Lameter <cl@linux.com>
    Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
    1759415e