Re: [PATCH 1/8] scsi: Drop struct Scsi_Host->host_lock aroundSHT->queuecommand()

From: Andi Kleen
Date: Fri Sep 17 2010 - 03:17:58 EST


> So at least from where I stand, my object is to reduce the number of
> times we take and release the lock, which this doesn't do. As I said
> before: we need to figure out the rest, which likely includes an atomic
> for the serial number (which is almost unused). I think the check

If it's unused it should be removed, make optional.
Atomics are a scalability problem too and not much cheaper than spinlocks.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/