From f45c40a92d2c6915a0e88ff8a947095be2ba1c8e Mon Sep 17 00:00:00 2001 From: Sam Bradshaw Date: Fri, 6 Jun 2014 13:28:48 -0600 Subject: [PATCH] mtip32xx: minor performance enhancements This patch adds the following: 1) Compiler hinting in the fast path. 2) A prefetch of port->flags to eliminate moderate cpu stalling later in mtip_hw_submit_io(). 3) Eliminate a redundant rq_data_dir(). 4) Reorder members of driver_data to eliminate false cacheline sharing between irq_workers_active and unal_qdepth. With some workload and topology configurations, I'm seeing ~1.5% throughput improvement in small block random read benchmarks as well as improved latency std. dev. Signed-off-by: Sam Bradshaw Add include of Signed-off-by: Jens Axboe --- Reading git-format-patch failed