Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2009 17:13:38 +0100
From:      Alexej Sokolov <bsd.quest@googlemail.com>
To:        freebsd-hackers@freebsd.org
Subject:   wrong data in remapped buffer
Message-ID:  <671bb5fc0903060813s284673e2t4d3c77b0ed6abc54@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?671bb5fc0903060813s284673e2t4d3c77b0ed6abc54>