Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1729311ybz; Thu, 30 Apr 2020 04:36:01 -0700 (PDT) X-Google-Smtp-Source: APiQypLyajUWgfv1qnZs6+i+gIgl4Q2pdv7yr9AUdUDRFN2tvctPmUj2JthwAG7RR+luAAoPozVh X-Received: by 2002:a50:abe2:: with SMTP id u89mr2256302edc.259.1588246560991; Thu, 30 Apr 2020 04:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588246560; cv=none; d=google.com; s=arc-20160816; b=MotBrJBuINkVBzRsT9G8v6m/vbSQz0bhHkRaGKRlp6OuUAsxT/UY+BiRXJv+rgrNmq zhpPWUf63bJCxjhTCAXRZIwT1zfuzz7Uj4dWLDJE+H96t2UWfy4O0KHODCarR1ZwftVH DiTYwIoFYVWgkSNfKVwNZlbtozHgW8Eig+AtXsKkIkGgxanTIkAe/1mK35V5L/H8A5a2 qXoKrJS7TtuMDk9RqAW/rpQuVEie9/8QnhGiwY7cC+VW8M6323WIGqXeq45XC9+HltkQ 9BFTZFjYKOIZZIMy+iJQgYxIJgBFbXXjRwiYf/eSiKfvjo4qBFe6tXLXkQLp/b4GuGBd lhmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bRksQ5ehqL0AKBfpcTZziLvOD7EEP6cfmU50E3Bmc/U=; b=Dss84OlXdQfn4QVpVU3hK06DJVGGf4Q8OWXW3EOXz+V4sw0HOshG2YDM0WKDrKZp4J hJN03HpbGsyNHm14C2Q+5S8SAw5h/IpU1FZ4DSJNvCSVecxDYWHPJYRJba/FL/KkJzKX bLybqT7WPkOGMgqHmkbpH1IiYifnxOJHiU89br3WMFtBEn6ln533+5pFenuzqeAU5Wxa s/zbT+htMH1R8K6LVx495ccFFRMmP6937mlAstDpvRSyfRa9sD5vxT7TK/nJqqPoaFD7 usiMWljwbhITTnDM5/SVmdAB7RpQUyj4OGdWel8XD66lQxMFLML7KZBo9qk0v67Xk+JT qunw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ngOt2zaG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h24si4834599edv.469.2020.04.30.04.35.37; Thu, 30 Apr 2020 04:36:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ngOt2zaG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726826AbgD3LdQ (ORCPT + 99 others); Thu, 30 Apr 2020 07:33:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:41418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgD3LdQ (ORCPT ); Thu, 30 Apr 2020 07:33:16 -0400 Received: from linux-8ccs (p3EE2CE96.dip0.t-ipconnect.de [62.226.206.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0B78B2078D; Thu, 30 Apr 2020 11:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588246396; bh=Q1oNOr8IL473Ob4udYWQ+uFHwVV7Gbu7dfa0Yj6MdNw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ngOt2zaGMRHUpdTHiX9hWDndg/wqQdi0j8+CFChEy/Bl+R1c3bpMrp9VtdOCsRvM/ NkNbxVfj19CEraI6IZkc2bkAAboPNDPtMzZq56usN9/ZCH/nqxj8JMvdk/cQD0gJFC bfDJbkrIPYvbmAHOWAFBiM+qS8o9sVgnwFGqy5Rk= Date: Thu, 30 Apr 2020 13:33:12 +0200 From: Jessica Yu To: Josh Poimboeuf Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Joe Lawrence , Miroslav Benes Subject: Re: [PATCH v4 00/11] livepatch,module: Remove .klp.arch and module_disable_ro() Message-ID: <20200430113309.GB4436@linux-8ccs> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-OS: Linux linux-8ccs 4.12.14-lp150.12.61-default x86_64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ Josh Poimboeuf [29/04/20 10:24 -0500]: >v4: >- Fixed rebase bisection regression [Miroslav] >- Made module_enable_ro() static [Jessica] >- Added Acked-by's > >v3: >- klp: split klp_write_relocations() into object/section specific > functions [joe] >- s390: fix plt/got writes [joe] >- s390: remove text_mutex usage [mbenes] >- x86: do text_poke_sync() before releasing text_mutex [peterz] >- split x86 text_mutex changes into separate patch [mbenes] > >v2: >- add vmlinux.ko check [peterz] >- remove 'klp_object' forward declaration [mbenes] >- use text_mutex [jeyu] >- fix documentation TOC [jeyu] >- fix s390 issues [mbenes] >- upstream kpatch-build now supports this > (though it's only enabled for Linux >= 5.8) > >These patches add simplifications and improvements for some issues Peter >found six months ago, as part of his non-writable text code (W^X) >cleanups. > >Highlights: > >- Remove the livepatch arch-specific .klp.arch sections, which were used > to do paravirt patching and alternatives patching for livepatch > replacement code. > >- Add support for jump labels in patched code (only for static keys > which live in vmlinux). > >- Remove the last module_disable_ro() usage. Nice! Glad the .klp.arch sections are going away. For kernel/module.c and include/linux/module.h parts: Acked-by: Jessica Yu