From patchwork Sat Oct 22 22:53:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Cromie X-Patchwork-Id: 543 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1381860wrr; Sat, 22 Oct 2022 15:57:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HDWdN69QRfHn2oSnGGtH3PKsL06F1SnpEoLV9ZICou10Jx/nfrsSOLxwanBsntCpN/UaN X-Received: by 2002:a05:6402:884:b0:461:1ed:579f with SMTP id e4-20020a056402088400b0046101ed579fmr13014112edy.413.1666479448034; Sat, 22 Oct 2022 15:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666479448; cv=none; d=google.com; s=arc-20160816; b=LBJWfX1GaPRlwDSwwYhTkac7AH9MEG3+UiblDwmrZYCkg0xqB8ljoliZDAMKwDhoXV cMYzt741tdRq0mHeUfE+geAEh4TX3pJb6fRroDHAVre4qPHRGgXMhDhr9eoQ3sw7PvXd QT5Y13rrdgvziXidY2GOhMQUEgUg8lFICyhPUolPMAbNaBOI5QD/KbZETl0uwv1HVDKt 3WJ0FHiWlcu20788uN3hdrn5btCFJeQ07b83rHoWD4fDBkObCQFc37rB0cR4N6W6igFw v6K2JzaEMgxe5Hm4bV9EMbWOz0wwPgpxK3zI4hGg1eAwGYjXVZtohcZkdg1YDTfcRLyE 3AyQ== 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=fkBjXmjpVErd1A8NZM/nAamr74W5y1SArrL9q2opXZE=; b=EF6NOSJEFOv7V/KlzqdoDlPfgY2IWgI6Agb/Asa8FSvZ0FIz1EPkgrrTAm5twEUSO2 i7RBG+0J2xOLIg+tGorF2quRlf0NGFE6vPOkX0hSrwyJnyO5m1ntLWkuNa2TuIkhEqGq R+MhMz2WWTattYICQKFuLDKUqr+ec6/NZYnuF11IzFIc5tQ+A2CK9gJbES7P3Ban3wuY rTJ2FOCHE1BXTWwfbVIUUsymAWXtngNxGV8l6D2Q8x01XG528pfWVKaiFKorAshEzFYx llQZTHCyp7YkyoRBCjfq1uU3IEZzf1dm5T7cOu8kGxRD6mjELydz08FVwGsR1vj7cDXq 2x5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=M1ZGxE8l; 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 t25-20020a1709064f1900b00783d969f337si19029651eju.307.2022.10.22.15.57.01; Sat, 22 Oct 2022 15:57:28 -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=M1ZGxE8l; 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 S229690AbiJVWx7 (ORCPT + 99 others); Sat, 22 Oct 2022 18:53:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbiJVWx6 (ORCPT ); Sat, 22 Oct 2022 18:53:58 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACDEC7C314 for ; Sat, 22 Oct 2022 15:53:57 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id y80so5106629iof.3 for ; Sat, 22 Oct 2022 15:53:57 -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=fkBjXmjpVErd1A8NZM/nAamr74W5y1SArrL9q2opXZE=; b=M1ZGxE8l9LkhRBl+GYdUiTyjtJvI6Y57g7N9pJi/WGeXq8xrs5ZPB0in/UCy8lkFgA UlhT740D3RSHZ/zzUuDqPl9mb2SPg/JDRLKNCZ0T0Gtq8dkWS8lE4pxLLd+DQRMfWyS0 KDhH0I+UJhCZc+Opkw98CIUi7rpd3yD9Lej8dRmnNW22gpKti7OQNsKWJjxNFaN0rOTJ xpeyqNsknsjSC6rM3CeaV4CBD+g/8zPUWn/OlctSFN7YubN4iUUssl4B4hLmECaoI421 M/s7vUi21RMTXkcbfZCyK9gvQEx8jmNVvJIxY4KxywtPd5uGAz7C8nzX4vQxiuaBsZfY NYyg== 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=fkBjXmjpVErd1A8NZM/nAamr74W5y1SArrL9q2opXZE=; b=2qNZ7k4TQlLmDbXEQ0wMtuOjLf+3F+Gc5xUglGATjw0YDqdKGsi51qh6X0MNWK5l5A +8lLVbcdHSAHGHa0XaOySyWikcLESqMh0zZnsy5cVjcd+QwqfddZFjy/HbZdtcLozzDW jeIyv5pYnLCQTLqKFX1gpoWDe6hnX06WhS9OFCNLy9rJeXSiXX6eR0JYVGPv/Lf9tShm zMDHM1cJWgFbYCyASTrdtatCJ5LriMELMEEc870DEV/XCo5NHnK6ag5n4mAmDC1hsMKp o+rzV6IUKgNZ8P/3dgLvGLMfqt5OK1GuKtf5TG/V/8kMXLPUfLID6x7Ob/9BgIGaADgq //Ig== X-Gm-Message-State: ACrzQf0cradkRqVxf2P1m4MMojrSHO9zzZ9jRYJPSqW3/0+9F/AmtIoZ ykvRRwkFgCIjTKNJFOA+bFAElKObsfk= X-Received: by 2002:a05:6602:2ccf:b0:6bc:d52f:a323 with SMTP id j15-20020a0566022ccf00b006bcd52fa323mr17338505iow.152.1666479236703; Sat, 22 Oct 2022 15:53:56 -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 y19-20020a056e02119300b002ffcf2e2e05sm534189ili.58.2022.10.22.15.53.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Oct 2022 15:53:56 -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] vmlinux.lds.h tweaks Date: Sat, 22 Oct 2022 16:53:48 -0600 Message-Id: <20221022225351.1406492-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?1747430353296808241?= X-GMAIL-MSGID: =?utf-8?q?1747430353296808241?= hi Greg, 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