HomeFreeBSD

Add sglist functions for working with arrays of VM pages.

Description

Add sglist functions for working with arrays of VM pages.

sglist_count_vmpages() determines the number of segments required for
a buffer described by an array of VM pages. sglist_append_vmpages()
adds the segments described by such a buffer to an sglist. The latter
function is largely pulled from sglist_append_bio(), and
sglist_append_bio() now uses sglist_append_vmpages().

Reviewed by: kib
Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on May 20 2016, 11:28 PM
Parents
rG1081d2766c00: Move the KTR for the update of ddp_active_id on each completion under
Branches
Unknown
Tags
Unknown

Event Timeline