Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753606AbZA0BMh (ORCPT ); Mon, 26 Jan 2009 20:12:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752724AbZA0BM3 (ORCPT ); Mon, 26 Jan 2009 20:12:29 -0500 Received: from gw.goop.org ([64.81.55.164]:48662 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572AbZA0BM2 (ORCPT ); Mon, 26 Jan 2009 20:12:28 -0500 Message-ID: <497E5F76.10301@goop.org> Date: Mon, 26 Jan 2009 17:12:22 -0800 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Brian Gerst , Tejun Heo CC: Ingo Molnar , Linux Kernel Mailing List Subject: unified percpu stuff X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 756 Lines: 20 I'm really pleased to see the unified percpu stuff in the kernel, but unfortunately its breaking Xen at the moment. It looks like this is just a matter of initializing %gs properly in xen_start_kernel. Is there any problem with me doing a load_gs_base(0) somewhere early in xen_start_kernel (arch/x86/xen/enlighten.c)? Is the initial percpu are and offset for cpu0 all set up? Do I need to make it #ifdef CONFIG_SMP? Do I need to do anything for 32-bit? (I haven't tested that yet.) Thanks, J -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/