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 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:


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:07:39. All times are in UTC/GMT.