* David Xu <[EMAIL PROTECTED]> [011206 22:15] wrote:
> FreeBSD does not have fault hook available,  all faults are processed in 
> vm_fault.
> I know Linux supports that idea,  you can insert  a  fault hook to 
> monitor some
> address range where fault occurs, and then graphics frame buffer can be 
> supported.

I'm sure one could add a callback in vm_fault without much issue.
However this isn't the point of the hook.  One can insert the
vm object into the vm map, when a fault occurs the vm_fault code
will call the pager handler to service it.

The only good part for having a fault hook in linux is most likely
for debug purposes.

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
                           http://www.morons.org/rants/gpl-harmful.php3

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to