Re: Doing zero-copy stuff in drivers, or "is vm_fault_quick_hold_pages() enough" ?

From: K. Macy <kmacy_at_freebsd.org>
Date: Mon, 2 Mar 2015 16:12:27 -0800
>> Right above vm_page_hold():
>> /*
>>  * Keep page from being freed by the page daemon
>>  * much of the same effect as wiring, except much lower
>>  * overhead and should be used only for *very* temporary
>>  * holding ("wiring").
>>  */
>
> What's the definition of "very temporary holding" ? What's the
> behavioural difference?


Long enough to complete a DMA operation versus the lifetime of  an
executing program.
Received on Mon Mar 02 2015 - 23:12:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC