Date: Fri, 12 Sep 2008 22:28:03 -0700 From: "Artem Belevich" <fbsdlist@src.cx> To: freebsd-hackers@freebsd.org Cc: Alan Cox <alc@cs.rice.edu> Subject: Re: Increasing KVM on amd64 Message-ID: <ed91d4a80809122228uafda0a1p3420baf0374aa75e@mail.gmail.com> In-Reply-To: <ed91d4a80809102224n6b89efdcta150a8e14998d031@mail.gmail.com> References: <ed91d4a80809101612t4e74a1e6y5ffffcf7ebf63d5d@mail.gmail.com> <48C8A78C.6070608@cs.rice.edu> <ed91d4a80809102224n6b89efdcta150a8e14998d031@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
By the way, this part of Alan's patch fixes a bug in RELENG7 where mapbase is passed to vm_map_find uninitialized. -CURRENT already has this change applied. Perhaps it's worth committing in RELENG7, too. --- ./kern/link_elf_obj.c.orig 2008-09-01 11:06:44.000000000 -0700 +++ ./kern/link_elf_obj.c 2008-09-10 13:07:54.793310216 -0700 @@ -667,6 +667,7 @@ goto out; } ef->address = (caddr_t) vm_map_min(kernel_map); + mapbase = KERNBASE; error = vm_map_find(kernel_map, ef->object, 0, &mapbase, round_page(mapsize), TRUE, VM_PROT_ALL, VM_PROT_ALL, FALSE); if (error) { --Artem
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed91d4a80809122228uafda0a1p3420baf0374aa75e>