[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    [PATCH 2/4] cache: use sendfile() instead of a pair of read() + write()
From:       Jason () zx2c4 ! com (Jason A !  Donenfeld)
Date:       2014-01-19 15:17:13
Message-ID: CAHmME9qJuhtvZ_M=tYLyDXADNLexe=Yi6NKGCwbEJT518ibiTg () mail ! gmail ! com
[Download RAW message or body]

On Sun, Jan 19, 2014 at 3:13 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> Would you mind sending another commit where you implement this for the
> read() write() situation in authenticate_post() on
> http://git.zx2c4.com/cgit/tree/cgit.c#n624 ? Still bounding it to
> MAX_AUTHENTICATION_POST_BYTES, but not having to copy it back to
> userspace?


On second thought, don't. Since we're hooking write() here, it doesn't
make too much sense to do. Silly me.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic