On 4/17/2014 5:34 PM, Steve Wise wrote:
<SNIP>
You could use a small array combined with a loop and a budget count. So the code would
grab, say, 4 at a time, and keep looping polling up to 4 until the CQ is empty or the
desired budget is reached...
Bingo... couldn't agree more.
Poll Arrays are a nice optimization, but large arrays will just burden
the stack (and might even make things worse in high workloads...)
Sagi.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html