HomeFreeBSD

Reduce stack usage by 256 bytes per call. It helps to avoid kernel
rS171600Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Reduce stack usage by 256 bytes per call. It helps to avoid kernel
stack overflow in complicated traffic filtering setups.

There can be minor performance degradation for the MHLEN < len <= 256 case
due to additional buffer allocation, but it is a rare case.

Approved by: re (rwatson), glebius (mentor)
MFC after: 1 week

Details

Provenance
mavAuthored on
Parents
rS171599: When we do open, we should lock the vnode exclusively. This fixes few races:
Branches
Unknown
Tags
Unknown

Event Timeline