Skip to content
Snippets Groups Projects
Select Git revision
  • e37ef961e50d74f55e9edb48e54dd2e7963aad39
  • master default protected
  • android-msm-bullhead-3.10-nougat_kgdb_less_changes
  • android-msm-bullhead-3.10-nougat_kgdb
  • android-msm-bullhead-3.10-nougat_klist
  • android-4.4
  • android-msm-vega-4.4-oreo-daydream
  • android-msm-wahoo-4.4-p-preview-5
  • android-msm-wahoo-4.4-pie
  • android-msm-marlin-3.18-p-preview-5
  • android-msm-marlin-3.18-pie
  • android-msm-wahoo-2018.07-oreo-m2
  • android-msm-wahoo-2018.07-oreo-m4
  • android-msm-wahoo-4.4-p-preview-4
  • android-msm-bullhead-3.10-oreo-m6
  • android-msm-angler-3.10-oreo-m6
  • android-msm-marlin-3.18-p-preview-4
  • android-msm-stargazer-3.18-oreo-wear-dr
  • android-msm-catshark-3.18-oreo-wear-dr
  • android-msm-wahoo-4.4-oreo-m2
  • android-msm-wahoo-4.4-oreo-m4
  • android-daydreamos-8.0.0_r0.5
  • android-8.1.0_r0.92
  • android-8.1.0_r0.91
  • android-daydreamos-8.0.0_r0.4
  • android-p-preview-5_r0.2
  • android-p-preview-5_r0.1
  • android-9.0.0_r0.5
  • android-9.0.0_r0.4
  • android-9.0.0_r0.2
  • android-9.0.0_r0.1
  • android-8.1.0_r0.81
  • android-8.1.0_r0.80
  • android-8.1.0_r0.78
  • android-8.1.0_r0.76
  • android-8.1.0_r0.75
  • android-8.1.0_r0.72
  • android-8.1.0_r0.70
  • android-p-preview-4_r0.2
  • android-p-preview-4_r0.1
  • android-wear-8.0.0_r0.30
41 results

include

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Eric Dumazet authored and David S. Miller committed
    Le mardi 12 octobre 2010 à 00:02 +0200, Eric Dumazet a écrit :
    > Here is the followup patch.
    >
    > Thanks !
    >
    
    Oops, this was an old version, the up2date ones also took care of "used"
    field.
    
    I guess its time for a sleep, sorry again.
    
    [PATCH net-next V2] neigh: reorder struct neighbour fields
    
    (refcnt) and (ha_lock, ha, used, dev, output, ops, primary_key) should
    be placed on a separate cache lines.
    
    refcnt can be often written, while other fields are mostly read.
    
    This gave me good result on stress test :
    
    before:
    
    real    0m45.570s
    user    0m15.525s
    sys     9m56.669s
    
    After:
    
    real    0m41.841s
    user    0m15.261s
    sys     8m45.949s
    
    Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e37ef961
    History