mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-01 17:00:36 +00:00
509d72c4b9
in thr_private.h o Lock down the ldt_entries array and ldt_free, which points to the next free slot. As noted in the comments, it's necessary to special case the initial_thread because %gs is not setup for it yet. This is ok because that early in the program there won't be any reentrancy issues anyways. Approved by: re/blanket libthr