From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758146AbYDOHrB (ORCPT ); Tue, 15 Apr 2008 03:47:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753495AbYDOHqv (ORCPT ); Tue, 15 Apr 2008 03:46:51 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:51288 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752983AbYDOHqu (ORCPT ); Tue, 15 Apr 2008 03:46:50 -0400 Date: Tue, 15 Apr 2008 09:46:30 +0200 From: Ingo Molnar To: Andrew Morton Cc: Erik Bosman , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrea Arcangeli , Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] x86: Implement prctl PR_GET_TSC and PR_SET_TSC Message-ID: <20080415074630.GA16721@elte.hu> References: <20080415002918.6a3b40b6.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080415002918.6a3b40b6.akpm@linux-foundation.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andrew Morton wrote: > > --- a/arch/x86/kernel/process_32.c > > +++ b/arch/x86/kernel/process_32.c > > @@ -36,6 +36,7 @@ > > #include > > #include > > #include > > +#include > > > > #include > > #include > > @@ -528,11 +529,12 @@ start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) > > } > > EXPORT_SYMBOL_GPL(start_thread); > > > > -#ifdef CONFIG_SECCOMP > > +#ifdef CONFIG_DISABLE_TSC > > static void hard_disable_TSC(void) > > { > > write_cr4(read_cr4() | X86_CR4_TSD); > > } > > Won't this break this build if CONFIG_DISABLE_TSC=n and > CONFIG_SECCOMP=y? it would break - but there was an update patch to this 2/3 patch which was the one i picked up into x86.git yesterday and which worked fine in 500 overnight randconfig build and bootup tests. Ingo