From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756802Ab1FFHjZ (ORCPT ); Mon, 6 Jun 2011 03:39:25 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:32951 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755491Ab1FFHjX (ORCPT ); Mon, 6 Jun 2011 03:39:23 -0400 Date: Mon, 6 Jun 2011 09:39:01 +0200 From: Ingo Molnar To: Andrew Lutomirski Cc: x86@kernel.org, Thomas Gleixner , linux-kernel@vger.kernel.org, Jesper Juhl , Borislav Petkov , Linus Torvalds , Andrew Morton , Arjan van de Ven , Jan Beulich , richard -rw- weinberger , Mikael Pettersson , Andi Kleen , Brian Gerst , Louis Rilling , Valdis.Kletnieks@vt.edu, pageexec@freemail.hu Subject: Re: [PATCH v5 8/9] x86-64: Emulate legacy vsyscalls Message-ID: <20110606073901.GA27075@elte.hu> References: <20110605193001.GB3971@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes 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 Lutomirski wrote: > > We could even 'tie down' the actual assembly by moving this all > > to a .S - this way we protect against GCC accidentally generating > > something dangerous in there. I suggested that before. > > I have no problem with that suggestion, except that once the > current series makes it into -tip I intend to move vread_tsc and > vread_hpet to the vDSO. So leaving them alone for now saves work, > and they'll be more maintainable later if they're written in C. Sure, if they move to the vDSO real soon then moving them to assembly becomes moot. Thanks, Ingo