Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp723657imm; Fri, 5 Oct 2018 10:38:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV61m16mXW+bRmhllcklQAFLLgbWSupgeeaJfP2oDPGSPQ8Ma2UR0gGAAGd21h5ePNOG1SASF X-Received: by 2002:a17:902:968d:: with SMTP id n13-v6mr12622932plp.33.1538761114128; Fri, 05 Oct 2018 10:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538761114; cv=none; d=google.com; s=arc-20160816; b=ZAYWxJlrf38T/3xihIBOJ4bPN7mYQ3IS83dvAFYpGdEsewADnh+9i4e4fJz2+mNJdS ztgHgdY5itIApFgEl7D/GCgciTUxJMpIxdYF/62N9Gbqs/WG9knwdXiV8tLXHBFzEa07 1Hje7hum8WhZfSNUHMg5ccwlxTPf2LGlppsCN7SXsIak3lIWRDrh6kYDlXiPOzYi5Z2z 78AON7axF7jAVce/kkFjsxEtaOTNucMyzb5SWirS5yAr0dLAu7MUZBDwGfG/qjSqa84l OLk5vAmb54MUT2WyvrqpmJuGio2yoASbPoKze+lOU1M789nTW/7wN7X6s33YcSSikWYb sd3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3WApRIiPKxs2jBxYYFGDZntA23neIOGOo+vmhYAMdWU=; b=bACcUzefhfhi09g7Gb4lrJQUYUkUXI8blm7PszbGbvj+bxnNahewCIAhu+7eDOz162 6hrLqOjqGF5vVYsPwPdQ5PkwcLbo4LuddEZEgILl71fAvzn6FN5W9PceqHvRSbzsYtTF TSICu1nzsDaVkecAD+m625GmX5qurgHy+e3VDs77ZVdtm4Wqt2T1oG2/F8vQ5Jj7cAzi mYCfipIPjqIugQsOr6z8MxvWQIJkj3hfF4Zkv7a3nctqT4ht5xL3Em6ZFH2HyVD1fd6u ehLGPl6TpBNBdEoJNzokkt3gPMIZX0gLo45kYeym8wg80xwOiwnqVbDWmp6/IGLU5+6M ObLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=MEtcOJ+0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19-v6si10112929pfm.152.2018.10.05.10.38.18; Fri, 05 Oct 2018 10:38:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=MEtcOJ+0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728890AbeJFAho (ORCPT + 99 others); Fri, 5 Oct 2018 20:37:44 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:42215 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727941AbeJFAhn (ORCPT ); Fri, 5 Oct 2018 20:37:43 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id d70b5390; Fri, 5 Oct 2018 17:37:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=sJM2xZ5pstyh+eUmNRLpvJyjYjk=; b=MEtcOJ +0akxYb38ucSad3OxdYK8aKz/osuRGSRcTbsdyFMAyZhuKHXKld14WILaamJd/rr 99Li7I2i/dig7eQcJocYqXlk+PVfL2NflnHLJBZSQ1MbbypClObn1kYBwy8v08hq jLjdLsdyKIwtD/uwEALk/qg70jQkvgFIgRktR3NN5yd699FUqz1drdpWZOW/GTlQ 5y6xbWRgoTuzdiJTMczKJOOo/zXVvtdIxLiPDQND6ADzKZNIvH+t7RiRX0EdXq2Q Japg+dKrBmxvEWH7GtYMGOdyoGOKIIKprGH69eYTIC2qKn8YJIJlgi/Nm1oI4oAT ucXk0Jesl8uHAGoA== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 4f6278fb (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Fri, 5 Oct 2018 17:37:31 +0000 (UTC) Received: by mail-oi1-f181.google.com with SMTP id y81-v6so11050696oia.6; Fri, 05 Oct 2018 10:37:57 -0700 (PDT) X-Gm-Message-State: ABuFfojjK4B85JLOKAX6lLnsFuO1r55XZ0UkiJDj6oG3FYYKcBQnvrXt DAOKJBquEG9Ys2LP0qiazgFIJPyOnMbnKIdyJZY= X-Received: by 2002:aca:b04:: with SMTP id 4-v6mr3891323oil.192.1538761076036; Fri, 05 Oct 2018 10:37:56 -0700 (PDT) MIME-Version: 1.0 References: <20181005081333.15018-1-ard.biesheuvel@linaro.org> <20181005081333.15018-2-ard.biesheuvel@linaro.org> <20181005141433.GS19272@hirez.programming.kicks-ass.net> <9E0E08C8-0DFC-4E50-A4FA-73208835EF9E@amacapital.net> In-Reply-To: From: "Jason A. Donenfeld" Date: Fri, 5 Oct 2018 19:37:44 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 1/9] kernel: add support for patchable function pointers To: Andrew Lutomirski Cc: Ard Biesheuvel , Peter Zijlstra , LKML , Eric Biggers , Samuel Neves , Arnd Bergmann , Herbert Xu , David Miller , Catalin Marinas , Will Deacon , benh@kernel.crashing.org, paulus@samba.org, Michael Ellerman , Thomas Gleixner , mingo@redhat.com, Kees Cook , "Martin K. Petersen" , Greg Kroah-Hartman , Andrew Morton , richard@nod.at, Linux Crypto Mailing List , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 5, 2018 at 7:29 PM Andy Lutomirski wrote: > (None of this is to say that I disagree with Jason, though -- I'm not > entirely convinced that this makes sense for Zinc. But maybe it can > be done in a way that makes everyone happy.) Zinc indeed will continue to push in the simpler and more minimal direction. Down the line I'm open to trying and benching a few different ways of going about it with dynamic patching -- something that will be pretty easy to experiment with given the lean structure of Zinc -- but for the initial merge I intend to do it the way it is, which is super fast and pretty straightforward to follow. Jason