From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 063CAC433DF for ; Tue, 18 Aug 2020 16:44:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E221220658 for ; Tue, 18 Aug 2020 16:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726806AbgHRQoD (ORCPT ); Tue, 18 Aug 2020 12:44:03 -0400 Received: from mga07.intel.com ([134.134.136.100]:21979 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbgHRQoC (ORCPT ); Tue, 18 Aug 2020 12:44:02 -0400 IronPort-SDR: X6lIl8RhRVELAgfJiM7jWo/U4xtjM8W//PJZv8CyPcBT+ekwrd8bCSvbnrhPgetZ0CPbUwuEvT Mb8oMk290LlA== X-IronPort-AV: E=McAfee;i="6000,8403,9717"; a="219260080" X-IronPort-AV: E=Sophos;i="5.76,328,1592895600"; d="scan'208";a="219260080" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2020 09:44:01 -0700 IronPort-SDR: Lc8c/BFanHB/cWj0PCxNLhuy/ld9Iurt4gycRy1DgnxQg2PKNiDHY9aojoalC7SWp5JATFMSKJ 3AJ6ULnZIoUQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,328,1592895600"; d="scan'208";a="336673333" Received: from ribnhajh-mobl.ger.corp.intel.com (HELO localhost) ([10.249.47.113]) by orsmga007.jf.intel.com with ESMTP; 18 Aug 2020 09:43:54 -0700 Date: Tue, 18 Aug 2020 19:43:53 +0300 From: Jarkko Sakkinen To: Nathaniel McCallum Cc: Sean Christopherson , X86 ML , linux-sgx@vger.kernel.org, LKML , Andy Lutomirski , Jethro Beekman , Cedric Xing , Andrew Morton , Andy Shevchenko , asapek@google.com, Borislav Petkov , chenalexchen@google.com, Conrad Parker , cyhanish@google.com, Dave Hansen , "Huang, Haitao" , Josh Triplett , "Huang, Kai" , "Svahn, Kai" , Keith Moyer , Christian Ludloff , Andy Lutomirski , Neil Horman , Patrick Uiterwijk , David Rientjes , Thomas Gleixner , yaozhangx@google.com Subject: Re: [PATCH v36 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call Message-ID: <20200818164353.GH137138@linux.intel.com> References: <20200716135303.276442-1-jarkko.sakkinen@linux.intel.com> <20200716135303.276442-22-jarkko.sakkinen@linux.intel.com> <20200810222317.GG14724@linux.intel.com> <20200818145234.GC132200@linux.intel.com> <20200818150627.GD132200@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-sgx-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sgx@vger.kernel.org On Tue, Aug 18, 2020 at 11:15:32AM -0400, Nathaniel McCallum wrote: > That seems like overkill to me. I'm just asking for one additional mov > instruction. :) I started to consider eBPF since the complexity and constraints of the callback look like an overkill and without doubt will be a burden to maintain. /Jarkko