I am writing a kernel module that gets I/O requests from kernel modules (buffers are in UIO_SYSSPACE) as well as userland (buffers are in UIO_USERSPACE).
I cannot tell where I was called from so it is not possible for me to correctly configure uiomove when I want to read/write the buffers.
I obviously need to be able to take a page fault.
In Linux I would use set_fs to accomplish this.
Is there a generic means to tell the kernel to allow a given address range?
Thank you,
I cannot tell where I was called from so it is not possible for me to correctly configure uiomove when I want to read/write the buffers.
I obviously need to be able to take a page fault.
In Linux I would use set_fs to accomplish this.
Is there a generic means to tell the kernel to allow a given address range?
Thank you,