Date: Mon, 9 Mar 2009 08:21:25 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: Alexej Sokolov <bsd.quest@googlemail.com> Subject: Re: wrong data in remapped buffer Message-ID: <200903090821.25871.jhb@freebsd.org> In-Reply-To: <671bb5fc0903060813s284673e2t4d3c77b0ed6abc54@mail.gmail.com> References: <671bb5fc0903060813s284673e2t4d3c77b0ed6abc54@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903090821.25871.jhb>