From: Vivek Goyal Date: Wed, 2 May 2007 17:27:07 +0000 (+0200) Subject: [PATCH] x86-64: cleanup segments X-Git-Tag: v2.6.22-rc1~1011^2~188 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30f472895401fbe8e64f861a2569bc9acb098741;p=pandora-kernel.git [PATCH] x86-64: cleanup segments Move __KERNEL32_CS up into the unused gdt entry. __KERNEL32_CS is used when entering the kernel so putting it first is useful when trying to keep boot gdt sizes to a minimum. Set the accessed bit on all gdt entries. We don't care so there is no need for the cpu to burn the extra cycles, and it potentially allows the pages to be immutable. Plus it is confusing when debugging and your gdt entries mysteriously change. Signed-off-by: Eric W. Biederman Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen --- Reading git-diff-tree failed