Module Name:    src
Committed By:   maxv
Date:           Sat Aug 20 18:04:04 UTC 2016

Modified Files:
        src/sys/arch/amd64/amd64: gdt.c

Log Message:
The GDT needs to be grown on each CPU, and not just gdtstore (cpu0).
Otherwise, if the caller gets switched to another CPU, the kernel will
end up accessing unallocated memory.

Currently, it never happens. The same is done in i386.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/amd64/amd64/gdt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to