Re: Panic on -CURRENT after LDT changes

From: Tor Egge <Tor.Egge_at_cvsup.no.freebsd.org>
Date: Tue, 29 May 2007 00:54:58 +0000 (UTC)
> Tor,
> I've updated the patch. Can you please redownload it and test/review:
> http://users.gufi.org/~rookie/works/patches/schedlock/ldt2.diff

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
Received on Mon May 28 2007 - 22:55:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC