mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
7911b650a0
The current LDT code has a few issues that mean it should be redone in a different way once we always start with a fresh MM even when cloning. In a new and better world, the kernel would just ensure its own LDT is clear at startup. At that point, all that is needed is a simple function to populate the LDT from another MM in arch_dup_mmap combined with some tracking of the installed LDT entries for each MM. Note that the old implementation was even incorrect with regard to reading, as it copied out the LDT entries in the internal format rather than converting them to the userspace structure. Removal should be fine as the LDT is not used for thread-local storage anymore. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Link: https://patch.msgid.link/20240703134536.1161108-7-benjamin@sipsolutions.net Signed-off-by: Johannes Berg <johannes.berg@intel.com> |
||
---|---|---|
.. | ||
apic.h | ||
arch_hweight.h | ||
archparam.h | ||
barrier.h | ||
checksum_32.h | ||
checksum_64.h | ||
checksum.h | ||
desc.h | ||
elf.h | ||
irq_vectors.h | ||
module.h | ||
processor_32.h | ||
processor_64.h | ||
processor.h | ||
ptrace.h | ||
required-features.h | ||
segment.h | ||
syscall.h | ||
vm-flags.h |