Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp297123pxu; Thu, 7 Jan 2021 05:26:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJygkgy5F1u19bLgTgv1z3GaXcVeDdVIpPCg2eGvtvzIzChmdD1eCR1xjrBATy1EwrBJteb/ X-Received: by 2002:a17:906:1db2:: with SMTP id u18mr6463294ejh.440.1610025998336; Thu, 07 Jan 2021 05:26:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610025998; cv=none; d=google.com; s=arc-20160816; b=pYLvOfxNwNM+rrZ4rA760Lq1LD1RRAncqcktDVdsp4pGJGtT8EuIi9MzUFLxZLhvE5 hZSF8x5tinPjdtT7HrogX2qA2462lRQXMVs9BwI82qBg9uK19FKcIk9eoIfJnLgGHC+7 4ZMhGeSzJ+AaT6+ZJUF7zjv5oYZPmMrS7w8YUylfCbVcVAAMTQJGq89YWsBM4H3D28kt 4447vzrX27FNFUnOJbrUV/bT/2uzK1A9HhPf9Lvi/8+Lqgjcbyra3ytyvLbk9FM7e/mE Df/QzcFZwbNUPiaNHlVZv6n7mPMfhLeRj7PiJa4O0I2gwGvcxWtYQXJWGszVIbJNdu7r gd3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=NbM+BV3h0wP9DEf17okq4NTR6p5kIx7YOB25bqCcATQ=; b=J0f6ofxY1TiG8LaZByI6GapMCHP55PR+i17xCa+KsKr6e7iI+y3fPwUEwvB4QpMAHp GEgR3/uqoHq1/2jaJKjxcYNaRSZdPceOiLBHSbzMB34M3p9LQx4gBj2hX55Wg5CR5tIt yqug/AxCVCaCpJkE/34UvgVz9V3Bpj0jDJN5ubC4t2m7qyDqKJou1ZuatxwVMrxsbWwD qggMpx+0IJg3IGoahvE4cLp8TdXjKaapglLAcZSfN8EuOe3Xt2Qr6Qdpzy6VlXuPTpTS CHYb0RXjM5NHfBJ0O4YhYP+/HqJWScMmJjM23ELWVgyiX36lXY3MYk7KczerQNchEBVP ZGKQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be26si535995edb.68.2021.01.07.05.26.14; Thu, 07 Jan 2021 05:26:38 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728547AbhAGNXK (ORCPT + 99 others); Thu, 7 Jan 2021 08:23:10 -0500 Received: from mx2.suse.de ([195.135.220.15]:55904 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728539AbhAGNXJ (ORCPT ); Thu, 7 Jan 2021 08:23:09 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 79E18B716; Thu, 7 Jan 2021 13:22:28 +0000 (UTC) Date: Thu, 7 Jan 2021 14:22:27 +0100 (CET) From: Miroslav Benes To: Josh Poimboeuf cc: Juergen Gross , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Shinichiro Kawasaki Subject: Re: [PATCH 3/3] objtool: Support stack layout changes in alternatives In-Reply-To: <9f78604e49b400eb3b2ca613591f8c357474ed4e.1608700338.git.jpoimboe@redhat.com> Message-ID: References: <9f78604e49b400eb3b2ca613591f8c357474ed4e.1608700338.git.jpoimboe@redhat.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Dec 2020, Josh Poimboeuf wrote: > BTW, another benefit of these changes is that, thanks to some related > cleanups (new fake nops and alt_group struct) objtool can finally be rid > of fake jumps, which were a constant source of headaches. \o/ You may also want to remove/edit the comment right before handle_group_alt() now that fake jumps are gone. Anyway, I walked through the patch (set) and I think it should work fine (but I am not confident enough to give it Reviewed-by. My head spins :)). I even like the change. Also, 1/3 is a benefit on its own, so if nothing else, it could go in. Regards Miroslav