Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765129AbYBUVB6 (ORCPT ); Thu, 21 Feb 2008 16:01:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762167AbYBUVBn (ORCPT ); Thu, 21 Feb 2008 16:01:43 -0500 Received: from www.tglx.de ([62.245.132.106]:45275 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934520AbYBUVBm (ORCPT ); Thu, 21 Feb 2008 16:01:42 -0500 Date: Thu, 21 Feb 2008 21:59:24 +0100 (CET) From: Thomas Gleixner To: john stultz cc: Andi Kleen , Arne Georg Gleditsch , LKML , Ingo Molnar , Roman Zippel , "H. Peter Anvin" , Arjan van de Ven Subject: Re: arch/x86/kernel/vsyscall_64.c: overeager NOP of syscalls In-Reply-To: Message-ID: References: <20080221155852.GA42442@muc.de> <1203624160.6150.5.camel@localhost.localdomain> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 834 Lines: 20 On Thu, 21 Feb 2008, Thomas Gleixner wrote: > > That or we need to do the NOP/un-NOP part in the update_vsyscall code > > dependent on if the current clocksource supports vread, instead of on > > the /proc entry access. > > That won't fly. We need to sychronize the CPUs when we patch the code, > which is not possible from update_wall_time with interrupts disabled. Also this is utterly stupid as we keep the syscall in cases where we do not have vread anyway, so we keep the attack point open for a lot of existing machines due to TSC wreckage and HPET unavailability. Thanks, tglx -- 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/