fast-classifier: change from irq spinlocks to bh spinlocks
Turns out turning IRQs on and off is expensive.
before/without:
cycles per pkt = 3094.8688459
instructions per pkt = 1939.64627983
dcache_misses per pkt = 116.502415214
icache_misses per pkt = 1.02315169093
after/with:
cycles per pkt = 2767.29080103
instructions per pkt = 1777.71736789
dcache_misses per pkt = 110.665225744
icache_misses per pkt = 0.574557637955
Re-runing multiple times seems to confirm a small decrease cache
misses.
Change-Id: I12e11c11a8e190bb4f4030189b9f222ac0269ddd
Signed-off-by: Matthew McClintock <mmcclint@qca.qualcomm.com>
1 file changed