Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4100691ybg; Fri, 25 Oct 2019 13:20:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWGejlZFRYLRh7m291VlJ8ZkoDVLe132w/yoFo8QleayxBi6QudkA0dqhT6IjslkKGrQ2R X-Received: by 2002:aa7:cf05:: with SMTP id a5mr5963426edy.255.1572034807470; Fri, 25 Oct 2019 13:20:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572034807; cv=none; d=google.com; s=arc-20160816; b=pqibVWOZl8IJS2asT32WtOZcjiNueKRVZMNUfGUFtNG/gUw6cEQV1cdjbuXF+gD8ZW p33C9JK/w2I2ULYVMbJPaRh99ipfLiPB0tMyvj5HrasHD6s9uwA255Q60+g9NWutclUa JfGV2WO1Y7CI616QpCoXqtD0UVBHjliggrAxbMTcc+I/spjVjBi2vKV7I8imwcNyspHG iM3ltmAuOoCRYOwxrXkz5cISoAVAZzDSdq6ohVvFW6eYbQgNKmEmX0Ef8fZYqiK/eRPh TsJWePu3YPZcM/PzNJskwvrl6w+cUObYjyTx5CZuG2727qa8wkbAttIn7iJ9/7E8CoUY Fz8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:user-agent:in-reply-to:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oEj+bO/nqtxOP3DiJvOVmlfYassIXPvH8i+dtMXWRIg=; b=PaJkLRdpUteC3VivBHucquE+mfxjfzwWdXPwqzlTs51L0kw7dFe67PmmTVfQF41JAa gKIO37ZB2TqCoTmb/R9m4beXoFwJNJw6yZcU1nCwwse6fM1qorNvnRDtdFrrW2Hjj1qR J2BxJsc2nGLuITuJpvXCXafsc3zKDgOq/6pzgDsqp3kAFQ6f50GgqvGrETbuzc638Q8c 3PMUAAvZ9+N1qithpwGttkhjvJhiJEfi83IkiJBIfG/8AyJEoHA2/ykN1tZ/SrXB3kPb 1gqv9ZaSjTnAKunfQm9U8jomLq7CUZYhtE+qwbnKAyTtN0Xu6A3kfONu97Uy1+ouPF0y XEqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bPTtsZLD; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si2116443edm.299.2019.10.25.13.19.44; Fri, 25 Oct 2019 13:20:07 -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=@redhat.com header.s=mimecast20190719 header.b=bPTtsZLD; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2504941AbfJYNuu (ORCPT + 99 others); Fri, 25 Oct 2019 09:50:50 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:51238 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2502085AbfJYNut (ORCPT ); Fri, 25 Oct 2019 09:50:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572011443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oEj+bO/nqtxOP3DiJvOVmlfYassIXPvH8i+dtMXWRIg=; b=bPTtsZLDV0K7QUBJbY9ekWU+33en2dmk+cbh9RjB1VgJRHQmrgyM8J9tFCW2MwuaPMvsM3 wHJeCxMrB/RTsrX/ts6YR9R7+H5+zNf5ZiOI9sQdNlaB1hD8aDm0obmmGiVr/ePf5kTEN3 VcZgRBP1HDoKkI1MIHeP1FtetGDXLFk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-53-7HRoqzFtPhC_9Bvf_tjP0A-1; Fri, 25 Oct 2019 09:50:31 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4C60847B; Fri, 25 Oct 2019 13:50:29 +0000 (UTC) Received: from treble (ovpn-121-225.rdu2.redhat.com [10.10.121.225]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B167460852; Fri, 25 Oct 2019 13:50:24 +0000 (UTC) Date: Fri, 25 Oct 2019 08:50:22 -0500 From: Josh Poimboeuf To: Peter Zijlstra Cc: Petr Mladek , x86@kernel.org, linux-kernel@vger.kernel.org, rostedt@goodmis.org, mhiramat@kernel.org, bristot@redhat.com, jbaron@akamai.com, torvalds@linux-foundation.org, tglx@linutronix.de, mingo@kernel.org, namit@vmware.com, hpa@zytor.com, luto@kernel.org, ard.biesheuvel@linaro.org, jeyu@kernel.org, live-patching@vger.kernel.org, Mark Rutland Subject: Re: [PATCH v4 15/16] module: Move where we mark modules RO,X Message-ID: <20191025135022.civcnjkp563hvlsk@treble> References: <20191018073525.768931536@infradead.org> <20191018074634.801435443@infradead.org> <20191021135312.jbbxsuipxldocdjk@treble> <20191021141402.GI1817@hirez.programming.kicks-ass.net> <20191023114835.GT1817@hirez.programming.kicks-ass.net> <20191023170025.f34g3vxaqr4f5gqh@treble> <20191024131634.GC4131@hirez.programming.kicks-ass.net> <20191025064456.6jjrngm4m3mspaxw@pathway.suse.cz> <20191025084300.GG4131@hirez.programming.kicks-ass.net> <20191025100612.GB5671@hirez.programming.kicks-ass.net> MIME-Version: 1.0 In-Reply-To: <20191025100612.GB5671@hirez.programming.kicks-ass.net> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: 7HRoqzFtPhC_9Bvf_tjP0A-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 25, 2019 at 12:06:12PM +0200, Peter Zijlstra wrote: > On Fri, Oct 25, 2019 at 10:43:00AM +0200, Peter Zijlstra wrote: >=20 > > But none of that explains why apply_alternatives() is also delayed. > >=20 > > So I'm very tempted to just revert that patchset for doing it all > > wrong. >=20 > And I've done just that. This includes Josh's validation patch, the > revert and my klp_appy_relocations_add() patches with the removal of > module_disable_ro(). >=20 > Josh, can you test or give me clue on how to test? I need to run a few > errands today, but I'll try and have a poke either tonight or tomorrow. >=20 > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/rwx Thanks. I'll work on hacking up kpatch-build to support this, and then I'll need to run it through a lot of testing to make sure this was a good idea. --=20 Josh