wrong data in remapped buffer
Alexej Sokolov
bsd.quest at googlemail.com
Mon Mar 9 12:38:58 PDT 2009
2009/3/9 John Baldwin <jhb at freebsd.org>
> On Friday 06 March 2009 11:13:38 am Alexej Sokolov wrote:
> > 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 architecture are you using? On some archs like amd64, small mallocs
> (<=
> PAGE_SIZE) don't use the kmem_map or kmem_object.
>
> --
> John Baldwin
>
anyway , the error happens only some times... I think there is other reason.
My hardware is amd64
% uname -ms
FreeBSD i386
More information about the freebsd-hackers
mailing list