Page MenuHomeFreeBSD

libfetch: Reduce copying
ClosedPublic

Authored by des on Wed, Jul 8, 5:35 PM.
Tags
None
Referenced Files
F162426058: D58113.id181700.diff
Mon, Jul 13, 3:42 AM
F162415008: D58113.id181552.diff
Mon, Jul 13, 1:08 AM
Unknown Object (File)
Sun, Jul 12, 1:10 PM
Unknown Object (File)
Sun, Jul 12, 1:40 AM
Subscribers

Details

Summary

Reduce the amount of copying we do when performing buffered reads.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74705
Build 71588: arc lint + arc unit

Event Timeline

des requested review of this revision.Wed, Jul 8, 5:35 PM
lib/libfetch/common.c
1464–1465
lib/libfetch/http.c
152

Is this needed?

lib/libfetch/common.c
1464–1465

I like my version better. But also, you should post this in D57907, where it was added.

lib/libfetch/http.c
152

No, thank you for catching it.

des marked 2 inline comments as done.Fri, Jul 10, 2:01 PM
This revision is now accepted and ready to land.Sat, Jul 11, 10:25 PM
This revision was automatically updated to reflect the committed changes.