From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756667AbYDMJH5 (ORCPT ); Sun, 13 Apr 2008 05:07:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754488AbYDMJHs (ORCPT ); Sun, 13 Apr 2008 05:07:48 -0400 Received: from smtp-out03.alice-dsl.net ([88.44.63.5]:31264 "EHLO smtp-out03.alice-dsl.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754077AbYDMJHr (ORCPT ); Sun, 13 Apr 2008 05:07:47 -0400 To: Erik Bosman Cc: Andrew Morton , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrea Arcangeli , Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] Add prctl commands PR_GET_TSC and PR_SET_TSC From: Andi Kleen References: Date: Sun, 13 Apr 2008 11:07:33 +0200 In-Reply-To: (Erik Bosman's message of "Fri, 11 Apr 2008 18:54:17 +0200 (CEST)") Message-ID: <87r6daw2ay.fsf@basil.nowhere.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 13 Apr 2008 09:00:48.0799 (UTC) FILETIME=[DE00CAF0:01C89D44] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Erik Bosman writes: > This patch adds prctl commands that make it possible > to deny the execution of timestamp counters in userspace. > If this is not implemented on a specific architecture, > prctl will return -EINVAL. You forgot to state why you need that? -Andi