SVNews r324448

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-09 21:06:16 - r324448 by glebius (Gleb Smirnoff)

Complete list of files affected by revision r324448:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/kern/kern_mbuf.c  
  History   Contents   Diff   MODIFY   /head/sys/kern/kern_sendfile.c  
  History   Contents   Diff   MODIFY   /head/sys/sys/mbuf.h  

Commit message:

Improvements to sendfile(2) mbuf free routine.

o Fall back to default m_ext free mech, using function pointer in
  m_ext_free, and remove sf_ext_free() called directly from mbuf code.
  Testing on modern CPUs showed no regression.
o Provide internally used flag EXT_FLAG_SYNC, to mark that I/O uses
  SF_SYNC flag. Lack of the flag allows us not to dereference
  ext_arg2, saving from a cache line miss.
o Create function sendfile_free_page() that later will be used, for
  multi-page mbufs. For now compiler will inline it into

In collaboration with: gallatin
Differential Revision:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 3 files printed. Current time is 2018-03-21 22:10:15. All times are in UTC/GMT.