From patchwork Sat Oct 22 22:56:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Cromie X-Patchwork-Id: 544 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1382083wrr; Sat, 22 Oct 2022 15:58:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7cFuEuvwwHXw4VU1AnlO91wNKo5VQXr2Skkeznhy8mYwZ9V7lykLdw7YtHP+mNywR6BNSC X-Received: by 2002:a17:907:2cf7:b0:78d:c7fc:29ff with SMTP id hz23-20020a1709072cf700b0078dc7fc29ffmr21996174ejc.748.1666479519999; Sat, 22 Oct 2022 15:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666479519; cv=none; d=google.com; s=arc-20160816; b=Ni9HZkgJ/aKRIrBQ/ZHodaF2wpUsziYQRaG7/pY8BJnPgVpzOdfvRM9jQDzijsGbwb 4mvRKgNYYGJMfsK9pHJ6PHNfT0K1K/8maSie1172vUS2LgMLhgAGT/ZWc/jRaZBZG13Z Ez37MUpopMT/9nVCyy45MQTPzeUwSwLdC1b9yv9uKGRwNbH+HQl7vsGhRE8qnPryGP3a JV0PcrkPeXFnh4nuIftesak4TPMIKR34Xc+JzQEmvZ9IgmI9AOd7b5o6qPT4a5ns+fxk RC+Wnvgn0qX4S/vXezRihErI8+W+oi/KXHXw7hXF/n+8L4hxPelGjVsGJtW8a/czSFXb ScZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jM5meo0ZGZ7KJu4pnBNKRi5tHBVhOfktKQt8N819UHU=; b=PlwXCoUK8qAIyO/rxgYBuC2wK24rnbrTD28XU/fFBnbZ906tNDvVfcp0c5RBfIkVm7 AxL3xtiKJnm8iuQfcMDDv92KA5rPs6Kpogg6b4pMKXl/yewUtNJg6gKm4JJ9gITA/hHk t36fItSpwm4rgDMNXtqfxducULAfjEa3YbyZMT2JXi0VSbtSB2wdVyeuOkw6Aj3SCQ1l XTqBdkXgG9wp/Md9Y34nGYn0qfB9or7uu9pn9ZHSPv4YTAeRg4j1e8vD/ahJI+h0BoIy r4Mtk8bXr5xL19qHcErKl0hzeHp1ZR6c/uwgwP+tkqBPJg/6wmBhINhzpIn/ovHOk4gm N60g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=adnVfAeG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho19-20020a1709070e9300b00782bb167cb6si26737818ejc.80.2022.10.22.15.58.13; Sat, 22 Oct 2022 15:58:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=adnVfAeG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229937AbiJVW4q (ORCPT + 99 others); Sat, 22 Oct 2022 18:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229853AbiJVW4n (ORCPT ); Sat, 22 Oct 2022 18:56:43 -0400 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8558883F17 for ; Sat, 22 Oct 2022 15:56:41 -0700 (PDT) Received: by mail-il1-x134.google.com with SMTP id o13so3476415ilc.7 for ; Sat, 22 Oct 2022 15:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jM5meo0ZGZ7KJu4pnBNKRi5tHBVhOfktKQt8N819UHU=; b=adnVfAeGxOj0UswBzcj1+5i/PyYahRvmFbir6YJQTWn5ocQ/nw3rgXNRdBwk2RFcGC oEpq4Oj9tRr4HVV8xlv46a/LtzWA5y6IeO4FlfwQPeXVMpkzmmQ0HMqUuoWd+DulQhKS EZNvWz5Pf8o4qa3AjG9kJbErg1+ac8Fy0RgNBuiDza0/Sv2hylLhSJRwPbozt9Av+UD4 f82wU/bIz1BaSPhkujYHYqWpLKN36QKuwTRkddP5nXlviMLOu2Tw+FN93aLsuqhpVfWi wdKsOjS+Wn8vZ9zJ495k5SqSN0KxbyJyBMMHPT5luHgn/ACpgkiY2wE5HEy3OiUhBqAq BHJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jM5meo0ZGZ7KJu4pnBNKRi5tHBVhOfktKQt8N819UHU=; b=3Kv7dYs7zh886BOXLX6Zov/sAoAx0pdK5Als9AuGIWCVYupeURAsi1qGoj0/lYOURr vcGgCFDXG+S+3+M6qjxn4TCHIDVf2wz8s9SLsuFRBSSVsDOj2aR7VpMDITzcD56Y8FiO t2ER/qZ6nAnRFIhF2agU11LKtWhutRzkiSPpWeRam1Mb3jyyc5NAH7eEkzxFZhrY/rRN XnVJ3EbeFPMsG0dutENzOIaKsqUh4R/Cn5SqTzZtP0711Chfx4Zfk4kvE2htUBLn9iy3 1+igncp2TvyO1FBJZ/g9Pp4Rqt5wRh3z9FYQ1Xw5e12yomD7HvFqz0p4yLtpAe/gonMA DmSA== X-Gm-Message-State: ACrzQf3YF181LcFZBPD86+Ulq2Hnjz9iAC3hqfQYs2DjKNFeRUw9tZ6o 24IdCUbXo3ncRC3VnVEf011xVyIw1aw= X-Received: by 2002:a05:6e02:1ba3:b0:2fa:3547:477a with SMTP id n3-20020a056e021ba300b002fa3547477amr18811281ili.34.1666479399788; Sat, 22 Oct 2022 15:56:39 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id o9-20020a927309000000b002fc323a2902sm2492267ilc.62.2022.10.22.15.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Oct 2022 15:56:39 -0700 (PDT) From: Jim Cromie To: linux-kernel@vger.kernel.org, jbaron@akamai.com, gregkh@linuxfoundation.org Cc: Jim Cromie , Suren Baghdasaryan , Kent Overstreet Subject: [PATCH 0/2] RESEND vmlinux.lds.h tweaks Date: Sat, 22 Oct 2022 16:56:35 -0600 Message-Id: <20221022225637.1406715-1-jim.cromie@gmail.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747430429327890050?= X-GMAIL-MSGID: =?utf-8?q?1747430429327890050?= hi Greg, this time w/o the stale patch 2. These 2 patches are "no functional change", but they are a simple step towards de-duplicating the repetitive columms in the __dyndbg section. For a DYNAMIC_DEBUG=y kernel with 5k pr_debugs/drm.debugs, the footprint reduction should be ~100 KiB Jim Cromie (2): vmlinux.lds.h: add BOUNDED_SECTION* macros vmlinux.lds.h: place optional header space in BOUNDED_SECTION include/asm-generic/vmlinux.lds.h | 221 +++++++++++------------------- 1 file changed, 81 insertions(+), 140 deletions(-) CC: Suren Baghdasaryan CC: Kent Overstreet Signed-off-by: Jim Cromie