HomeFreeBSD

Use get_pcpu() to fetch the current CPU's pcpu pointer.

Description

Use get_pcpu() to fetch the current CPU's pcpu pointer.

This avoids encoding knowledge about how pcpu objects are allocated and is
also a few instructions shorter.

MFC after: 2 weeks

Details

Provenance
jhbAuthored on Aug 28 2019, 11:40 PM
Parents
rG5fc7854e6932: cxgbe/t4_tom: Use the correct value of sndbuf in AIO Tx.
Branches
Unknown
Tags
Unknown

Event Timeline