SVNews r324447

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

2017-10-09 20:51:58 - r324447 by glebius (Gleb Smirnoff)

Complete list of files affected by revision r324447:

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

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

Commit message:

In mb_dupcl() don't copy full m_ext, to avoid cache miss. Respectively,
in mb_free_ext() always use fields from the original refcount holding
mbuf (see. r296242) mbuf. Cuts another cache miss from mb_free_ext().

However, treat EXT_EXTREF mbufs differently, since they are different -
they don't have a refcount holding mbuf.

Provide longer comments in m_ext declaration to explain this change
and change from r296242.

In collaboration with: gallatin
Differential Revision: https://reviews.freebsd.org/D12615

 


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

Page generated in 7 ms, 3 files printed. Current time is 2017-12-16 15:01:23. All times are in UTC/GMT.