Patch: sym(4) "VTOBUS FAILED" panics on amd64, amd64/89550

Scott Long scottl at samsco.org
Tue Sep 26 21:37:58 PDT 2006


Jan Mikkelsen wrote:

> Attached is a simpler patch, after some feedback from Stefan over general
> niceness.
> 
> It removes the amd64 special case by splitting the target member (an array
> of struct sym_tcb) of sym_hcb out into a separately allocated structure.
> This way there is never a need to allocate anything bigger than a page and
> the whole problem goes away with minimal change, less wasted memory and
> fewer outright hacks.
> 
> I did spend some time looking at ripping out the custom allocator entirely,
> and got as far as it building and one of the cache tests failing.  I don't
> think I'm going to spend the time to track down why;  if anyone wants to
> pick it up then let me know.
> 
> Regards,
> 
> Jan Mikkelsen

Looks very reasonable.  Stefen, did you want to handle getting this into
CVS, or would you like me to do it?

Scott



More information about the freebsd-stable mailing list