Return-Path: <SRS0=68ZU=2Q=vger.kernel.org=git-owner@kernel.org>
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
[172.30.200.123])
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ECE60109A
for <patchwork-git@patchwork.kernel.org>;
Thu, 26 Dec 2019 10:42:28 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by mail.kernel.org (Postfix) with ESMTP id CEA172080D
for <patchwork-git@patchwork.kernel.org>;
Thu, 26 Dec 2019 10:42:28 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1726075AbfLZKmV (ORCPT
<rfc822;patchwork-git@patchwork.kernel.org>);
Thu, 26 Dec 2019 05:42:21 -0500
Received: from dcvr.yhbt.net ([64.71.152.64]:54742 "EHLO dcvr.yhbt.net"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S1725954AbfLZKmV (ORCPT <rfc822;git@vger.kernel.org>);
Thu, 26 Dec 2019 05:42:21 -0500
Received: from localhost (dcvr.yhbt.net [127.0.0.1])
by dcvr.yhbt.net (Postfix) with ESMTP id 0539C1F463;
Thu, 26 Dec 2019 10:42:21 +0000 (UTC)
From: Eric Wong <e@80x24.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: [PATCH 0/2] packfile: small syscall reductions
Date: Thu, 26 Dec 2019 10:42:18 +0000
Message-Id: <20191226104220.27325-1-e@80x24.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Sender: git-owner@vger.kernel.org
Precedence: bulk
List-ID: <git.vger.kernel.org>
X-Mailing-List: git@vger.kernel.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(-)