Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp376353pxb; Fri, 3 Sep 2021 04:19:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+HLq7kt7oQ3nUIP7VND+PVIaDcF3aZAF8ZHRy3ZOOXAFXTB6YxdZycy3ZsZ0Ga51oERKo X-Received: by 2002:a17:906:98c9:: with SMTP id zd9mr3761214ejb.388.1630667975700; Fri, 03 Sep 2021 04:19:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630667975; cv=none; d=google.com; s=arc-20160816; b=nNoCPCDRjh6bRrgDL5KdvT3oumAzGTjN8dpc6ehUK4GkkRRaTLrBQpJQ2qWlFPOTXo t8FgiU/zrlcny7Pfx6cjY1TX07R90lxx6AtcoOrd4S8aCOnL3T3ZYtDvprgM+Ci0KqkV 1r3UH8uSRIMYllVdYf2AM64A4TK27bDtnD4PCbif7rSQWenHHJ92rtTTjzaUNRuY3lSJ OgvBz7NlbyUMCcPmtTA/1K0Klpaxvl7j95HUQfW6u32WG506XdkbeCw8OYg0IOs8lVln 4kVIKfT/iY+ryi+w3EIqeQfMRfyx3UPeiqFKO7UIWKfhwAQp4avJWXZk14OvY8cp/UPW APhQ== 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:dkim-signature:dkim-signature; bh=SQ370L2iYUQdkHmIR8ksIxVZX+RkzFDROYt4rIFYKkk=; b=SDMTFrCs24om5SSroC28lejBglOBabWVU88mHHareufqtp85vjPRz1eEscuuhotM+D lxeXOp2NuUL506VPD/VeTlp9sJtm1t0+H4p3rbTezdDsJUkOCYyc0dwuHMEPrWsM7Dvh dq+Kwo0L3cKraRMYL0xVxIwz7uOuwN72qIWlzdd2a80zZ88Gc5nhkOCFvkIlxorYDbHA +RfbwNQ5T/jNf8jJfb0mcxrJFsIJpCl4HDbyCHrNEM/BZ8msQ5q1Sf6byIfTaSrCVXtY t9nZVqBB2YGQi/9gzdr6OV8pOZwF7SHvGDsL+VpFyqoVJSg8Eo8H/lLOdl5W6vmQbqJz asjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ZgbPDYy9; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=7NEfa0tx; 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 jz21si4951813ejb.539.2021.09.03.04.19.11; Fri, 03 Sep 2021 04:19:35 -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=@suse.cz header.s=susede2_rsa header.b=ZgbPDYy9; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=7NEfa0tx; 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 S1348457AbhICLR3 (ORCPT + 99 others); Fri, 3 Sep 2021 07:17:29 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:43394 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348353AbhICLR2 (ORCPT ); Fri, 3 Sep 2021 07:17:28 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 4116A203B3; Fri, 3 Sep 2021 11:16:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1630667788; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SQ370L2iYUQdkHmIR8ksIxVZX+RkzFDROYt4rIFYKkk=; b=ZgbPDYy9VglByp4K7Zfg8M+5pXBM+9eti3i/8GpWUDVJlmcXNU2uqsdG1w9ektaL5/a8tO mOdkp1UA/CprdslCa/2QiHAmsAOmHx4JALy8/DjFN4oK/WwsON1BqwMcetYF3EDXOdGsU1 83h8f9gZNI6mUbku/xrfzbPtxCqck9I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1630667788; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SQ370L2iYUQdkHmIR8ksIxVZX+RkzFDROYt4rIFYKkk=; b=7NEfa0txL6X8ITBe5imd5gMDikPqzA7ugYapfFhhNq0g75/s25h47X19xMie6aD9zz8LRk ecTUza4117up+ZCQ== Received: from pobox.suse.cz (pobox.suse.cz [10.100.2.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 2E4AFA3B8B; Fri, 3 Sep 2021 11:16:28 +0000 (UTC) Date: Fri, 3 Sep 2021 13:16:28 +0200 (CEST) From: Miroslav Benes To: Joe Lawrence cc: x86@kernel.org, Josh Poimboeuf , Peter Zijlstra , linux-kernel@vger.kernel.org, Andy Lavr Subject: Re: [PATCH v3 0/2] objtool: altinstructions fix and cleanup In-Reply-To: <20210822225037.54620-1-joe.lawrence@redhat.com> Message-ID: References: <20210822225037.54620-1-joe.lawrence@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 Sun, 22 Aug 2021, Joe Lawrence wrote: > This version won't eat your memory and swap when building the entire > kernel. Apologies to Andy who discovered this over the weekend. > > Tested full build and boot w/o problem. The vmlinux sections, relocs, > size, etc. all appear to be the same before and after this set. > External tooling (kpatch-build) is happy, too. > > v3: > - fix bug introduced in arch_decode_instruction() [andy] > > v2: > - drop the sec->len update from the first patch [josh] > - rip out sec->len as suggested [josh] > > > Joe Lawrence (2): > objtool: make .altinstructions section entry size consistent > objtool: remove redundant len value from struct section Reviewed-by: Miroslav Benes M