diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-18 22:21:18 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-18 22:21:18 +0200 |
commit | 3be6cbd73f74b4a3da82cc7d6e1688a4ae595fc7 (patch) | |
tree | a077cf70d1cd438db34f5def23dd8f72f42b5a8c /scripts | |
parent | Update libata driver for bf548 atapi controller against the 2.6.24 tree. (diff) | |
download | linux-3be6cbd73f74b4a3da82cc7d6e1688a4ae595fc7.tar.xz linux-3be6cbd73f74b4a3da82cc7d6e1688a4ae595fc7.zip |
[libata] kill ata_sg_is_last()
Short term, this works around a bug introduced by early sg-chaining
work.
Long term, removing this function eliminates a branch from a hot
path loop in each scatter/gather table build. Also, as this code
demonstrates, we don't need to _track_ the end of the s/g list, as
long as we mark it in some way. And doing so programatically is nice.
So its a useful cleanup, regardless of its short term effects.
Based conceptually on a quick patch by Jens Axboe.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions