HomeFreeBSD

Optimise use of sg_page_count() in __sg_page_iter_next() in the LinuxKPI.

Description

Optimise use of sg_page_count() in __sg_page_iter_next() in the LinuxKPI.
No need to compute value twice.

No functional change intended.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS360622: Implement more scatter and gather functions in the LinuxKPI.
Branches
Unknown
Tags
Unknown