On 2 March 2015 at 16:12, K. Macy <km...@freebsd.org> wrote:
>>> 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.
Ok, but is there a specific time length that this should be?
A DMA operation to a slow device could be up to hundreds of
milliseconds; or seconds if things are really backed up.
Using wire instead of hold definitely made things work without having
the page disappear from underneath it. Oleksander knows more about the
details of that.
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"