Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1059819pxb; Fri, 3 Sep 2021 22:23:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/9DCqirsZ1/Gs5THCmk1qszLr2IeUkd+1FEMDVFKcg1AO/HeL+RUkw1G4NJq5QRw8gl+d X-Received: by 2002:a5d:8d06:: with SMTP id p6mr1848641ioj.7.1630733023656; Fri, 03 Sep 2021 22:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630733023; cv=none; d=google.com; s=arc-20160816; b=y/U7WEprrTFhj6kWS7yZYLSsysF/jkLkRoK9+fZETcczqhc0EUi53ew4NM7gBRZNEp 1371DVI/DCxBzOhv653Q4dTjpawEjwtT+Fq9K1jIDy0IVXWVituaEyJkE9wH7bqlw3px GMRqlGf2seAXGWWlFuGoXQhJz8L4iOcsiXmtoD19WZsYfpWMSvj8sr/IfNfCIHtY+BSY T/pCglVA7sNK3QtEJuAl0m5zaHT/9gNiXbQBEid/LRFUUkEmVpknViyi035UztNMZiq+ cKckDy1/T4lM/i/Iz3o/yY4f9ALCLbDOv/5BjmNEzPR88mncIunNAel5YovsYnjBqS2e V53w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JjvuHK+BZictdhPGYezlZpUv4ww/LD4eYVVCYSW7gxc=; b=eAbYoI8IbToAj7wbbG0TvUPNz/1OAnFBvnN/8xwHCv8zrh/zCOWRX14OT7XSuIZOWa Std+R4BNevaHwXiYA9wgQY6NkBIVMppYgC9wIsTcQ2WgyiA+5OHzQS77NmUTXZCirART /ucAEsuoPgpgmVqqCBiJcivirfyijCHAA9f65uxsck+jc6oMT6dqnnFPsi6vR7vjSwyB hePATT4TXsXvZCZtShVzo2STuSK5POinY7JNLkgCtCUOGUGZnWj50a1HD37qNm6RCxtL 61wv4BiV0WhZJ9Cat5DGFIcCbORtFhBakOZEqT8NWRm1rT13D9VP16InG3s76HxEmB3M sbqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=drwmKMvX; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g13si1493052jao.114.2021.09.03.22.23.02; Fri, 03 Sep 2021 22:23:43 -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=@redhat.com header.s=mimecast20190719 header.b=drwmKMvX; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229896AbhIDEr5 (ORCPT + 99 others); Sat, 4 Sep 2021 00:47:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:29508 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbhIDEr4 (ORCPT ); Sat, 4 Sep 2021 00:47:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630730814; 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: in-reply-to:in-reply-to:references:references; bh=JjvuHK+BZictdhPGYezlZpUv4ww/LD4eYVVCYSW7gxc=; b=drwmKMvXFMrThJbqeav32VM8QS12kR8Pf00I6g+1kahN5COybRuP4MsGYZfW39uAd7rmc8 xudhdR5WzN78ugzZKtqrQ3xxiCKni7lZd0iQ+3GXo+ZKzzC2YkXaWoxdKJpfK7WL24CrBa ebabQx27kJO62iI3k+50s9IF7SK/C6g= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-234-VB3DB3p3PMSEtaHtAlm6QA-1; Sat, 04 Sep 2021 00:46:53 -0400 X-MC-Unique: VB3DB3p3PMSEtaHtAlm6QA-1 Received: by mail-qv1-f72.google.com with SMTP id l3-20020a056214104300b00366988901acso3166772qvr.2 for ; Fri, 03 Sep 2021 21:46:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=JjvuHK+BZictdhPGYezlZpUv4ww/LD4eYVVCYSW7gxc=; b=SzrDOgSIqUwER8KlA265u6DCMWsrJF9Q21l2QoH/YWhcqIs5aF11YdSHcUcDwb3HXM 2c/mmwkI1ExcMGetVGS7gd0ExiYgTivHsj/zxCRtDIwv6wV1qGrXMOjiMfMTjOHC3G/W OxxsXqvtX40ZfrRtBb+RA6M97HUpKCVYkR26iUyxgmQ9TjwegW6s2pOry7QEjYX7+Pxn TkyG9uOSGZfE6P54dFVMbtvlcAyg9tZSkFt+3S5qU5gHDMfjkUtKIPM5Tlj6+sXk2zC/ LMXO7p6twzJGnGaII/tSOWBaBFtIqUw0wh8vuZf2dn/UBVSZ189e14QDcm5p2+GtesXC YDTw== X-Gm-Message-State: AOAM531OKLTFlu4pE5kw+3crW/+aMl6AeCmRHC2BqgZC+JiT0gAuxRsC wMEdO+6nEQBTI2uQ2YEfKJRJzTPsfPabmZNwC5sfvRDiRm6ryAN5KK3vyy8IzV2kVF6xu3Fe+8N qtUqw3aL8PUPf6iiKwK+sXrXr X-Received: by 2002:a0c:ac4a:: with SMTP id m10mr2160234qvb.37.1630730813034; Fri, 03 Sep 2021 21:46:53 -0700 (PDT) X-Received: by 2002:a0c:ac4a:: with SMTP id m10mr2160218qvb.37.1630730812815; Fri, 03 Sep 2021 21:46:52 -0700 (PDT) Received: from treble ([2600:1700:6e32:6c00::15]) by smtp.gmail.com with ESMTPSA id x2sm943187qtr.6.2021.09.03.21.46.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 21:46:52 -0700 (PDT) Date: Fri, 3 Sep 2021 21:46:49 -0700 From: Josh Poimboeuf To: Joe Lawrence Cc: x86@kernel.org, Peter Zijlstra , linux-kernel@vger.kernel.org, Miroslav Benes , Andy Lavr Subject: Re: [PATCH v3 0/2] objtool: altinstructions fix and cleanup Message-ID: <20210904044649.nfknj5ukciim2au7@treble> References: <20210822225037.54620-1-joe.lawrence@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210822225037.54620-1-joe.lawrence@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 22, 2021 at 06:50:35PM -0400, 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 Thanks! Queueing up for testing. -- Josh