diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-08-18 13:43:32 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-05 13:49:49 (GMT) |
commit | 41e05a12c7aae16f0381103af3e5ca791e87ce59 (patch) | |
tree | 3db57f11d9f2183215a52796fea113ce96b5abd8 /drivers/scsi/stex.c | |
parent | b592e89ac9af521be164490e45c53c93e89c776f (diff) | |
download | linux-41e05a12c7aae16f0381103af3e5ca791e87ce59.tar.xz |
[SCSI] zfcp: optimize zfcp_qdio_account
Remove expensive ktime_get()/ktime_us_delta() functions from the hot
path and use get_clock_monotonic() instead. This elimates seven
function calls and avoids a lot of unnecessary calculations.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/stex.c')
0 files changed, 0 insertions, 0 deletions