wrong data in remapped buffer

Alexej Sokolov bsd.quest at googlemail.com
Fri Mar 6 08:13:40 PST 2009


Hello,
I try to MALLOC a buffer in kern, then remap it with vm_map_find(), to space
of user process.
Some times the remapped buffer in user space contain incorrect data.

What could be a reason of this problem and how to solve it ?
Thanx,
Alexej


P.S. Whole code of remapping function:  http://pastebin.com/m78da0b37


More information about the freebsd-hackers mailing list