Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/amd64/amd64




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys/arch/amd64/amd64

From: "Maxime Villard" <maxv%netbsd.org@localhost>

Date: Sat, 20 Aug 2016 18:04:04 +0000


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.






Prev by Date: CVS commit: src/sys/arch/amd64/amd64

Next by Date: CVS commit: src/sys/arch/sparc64/dev

Previous by Thread: CVS commit: src/sys/arch/amd64/amd64

Next by Thread: CVS commit: src/sys/arch/sparc64/dev

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index