From: Shaohua Li Date: Tue, 27 Jun 2006 09:53:43 +0000 (-0700) Subject: [PATCH] x86: cpu_init(): avoid GFP_KERNEL allocation while atomic X-Git-Tag: v2.6.18-rc1~569 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd9e0b74f52dbac6241643fadca2393808b14c7a;p=pandora-kernel.git [PATCH] x86: cpu_init(): avoid GFP_KERNEL allocation while atomic The patch fixes two issues: 1. cpu_init is called with interrupt disabled. Allocating gdt table there isn't good at runtime. 2. gdt table page cause memory leak in CPU hotplug case. Signed-off-by: Shaohua Li Cc: Ashok Raj Cc: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed