From patchwork Fri Dec 18 08:48:45 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng Yang X-Patchwork-Id: 68636 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBI8n8d2003934 for ; Fri, 18 Dec 2009 08:49:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751479AbZLRItC (ORCPT ); Fri, 18 Dec 2009 03:49:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751234AbZLRItB (ORCPT ); Fri, 18 Dec 2009 03:49:01 -0500 Received: from mga02.intel.com ([134.134.136.20]:47813 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbZLRIs6 (ORCPT ); Fri, 18 Dec 2009 03:48:58 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 18 Dec 2009 00:47:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.47,417,1257148800"; d="scan'208";a="477313935" Received: from syang10-desktop.sh.intel.com (HELO syang10-desktop) ([10.239.36.76]) by orsmga002.jf.intel.com with ESMTP; 18 Dec 2009 00:48:42 -0800 Received: from yasker by syang10-desktop with local (Exim 4.69) (envelope-from ) id 1NLYW9-0002VZ-HR; Fri, 18 Dec 2009 16:48:57 +0800 From: Sheng Yang To: Avi Kivity , Marcelo Tosatti Cc: kvm@vger.kernel.org, Sheng Yang , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH 4/6] x86: Raise vsyscall priority on hotplug notifier chain Date: Fri, 18 Dec 2009 16:48:45 +0800 Message-Id: <1261126127-9603-5-git-send-email-sheng@linux.intel.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1261126127-9603-1-git-send-email-sheng@linux.intel.com> References: <1261126127-9603-1-git-send-email-sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c index 8cb4974..971bbc9 100644 --- a/arch/x86/kernel/vsyscall_64.c +++ b/arch/x86/kernel/vsyscall_64.c @@ -300,7 +300,8 @@ static int __init vsyscall_init(void) register_sysctl_table(kernel_root_table2); #endif on_each_cpu(cpu_vsyscall_init, NULL, 1); - hotcpu_notifier(cpu_vsyscall_notifier, 0); + /* notifier priority > KVM */ + hotcpu_notifier(cpu_vsyscall_notifier, 30); return 0; }