Panic on -CURRENT after LDT changes

Tor Egge Tor.Egge at
Tue May 29 00:55:15 UTC 2007

> Tor,
> I've updated the patch. Can you please redownload it and test/review:

Looking at the diff between the old ldt2.diff and the new ldt2.diff,
the change seems reasonable.

i386_ldt_grow() has another problem if multiple processes share a user LDT.
The old ldt is freed while still referenced by the CPUs.  This might cause
problems, e.g. with threaded linux binaries.

- Tor Egge

More information about the freebsd-current mailing list