diff options
| author | <dougg@torque.net> | 2005-04-02 13:51:23 -0600 |
|---|---|---|
| committer | James Bottomley <jejb@titanic> | 2005-04-16 20:08:52 -0500 |
| commit | cb59e840838193957a84ad22f7e1465a06a7c10c (patch) | |
| tree | d47f9779a52eb782962dc3406ef0de6100a29dfa /scripts/basic/fixdep.c | |
| parent | a757e64cfa400391041ed7953f0290c34a820c93 (diff) | |
[PATCH] sg.c: update
The attachment combines the most recent patch from
Yum Rayan <yum.rayan@gmail.com> (to reduce sg stack
usage), Adrian Bunk <bunk@stusta.de> (to fix check
after use) and me (fix elapsed time calculation
(duration) on ia64 machines).
I have modified the patch from Yum Rayan so kmalloc()
in sg_read() is only called for the (rare) code paths
that need them.
Changelog:
- reduce stack usage in sg_ioctl() and sg_read()
- fix check after use in sg_mmap()
- hold duration internally in milliseconds and
check current time later than held time
Signed-off-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'scripts/basic/fixdep.c')
0 files changed, 0 insertions, 0 deletions
