git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] packfile: small syscall reductions
@ 2019-12-26 10:42 Eric Wong
  2019-12-26 10:42 ` [PATCH 1/2] packfile: remove redundant fcntl F_GETFD/F_SETFD Eric Wong
  2019-12-26 10:42 ` [PATCH 2/2] packfile: replace lseek+read with pread Eric Wong
  0 siblings, 2 replies; 6+ messages in thread
From: Eric Wong @ 2019-12-26 10:42 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

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(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-12-26 18:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26 10:42 [PATCH 0/2] packfile: small syscall reductions Eric Wong
2019-12-26 10:42 ` [PATCH 1/2] packfile: remove redundant fcntl F_GETFD/F_SETFD Eric Wong
2019-12-26 10:42 ` [PATCH 2/2] packfile: replace lseek+read with pread Eric Wong
2019-12-26 18:23   ` Junio C Hamano
2019-12-26 18:32     ` Junio C Hamano
2019-12-26 18:59     ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).