[PATCH 0/2] packfile: small syscall reductions
- From
- Eric Wong <e@80x24.org>
- Date
- Dec 26, 2019, 10:42 UTC
- Message-ID
- <20191226104220.27325-1-e@80x24.org>
Being an avid user of strace, redundant syscalls clutter up the output and bother me, so I removed some. Folks with CPU mitigations enabled might also benefit from fewer syscalls.
Eric Wong (2): packfile: remove redundant fcntl F_GETFD/F_SETFD packfile: replace lseek+read with pread
packfile.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-)