On Tue, 2019-04-23 at 18:32 +0800, Ming Lei wrote: > #define SCSI_INLINE_PROT_SG_CNT 1 > > +#define SCSI_INLINE_SG_CNT 2
So this patch inserts one kmalloc() and one kfree() call in the hot path for every SCSI request with more than two elements in its scatterlist? Isn't "2" too low? Or in other words, what is the performance impact of this patch for a real-world workload? Thanks, Bart.

