Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4754981rwi; Sat, 22 Oct 2022 16:09:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5j9nVVvkaISpccLE2kz6JsfV/18s/VhCVtnRD6oFYBOJtsop0MfnusL0P84O4Ulvp8BHnV X-Received: by 2002:a17:903:1207:b0:185:4042:23d2 with SMTP id l7-20020a170903120700b00185404223d2mr25598535plh.143.1666480143690; Sat, 22 Oct 2022 16:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666480143; cv=none; d=google.com; s=arc-20160816; b=nNyPZXyW6aUmmf7RjbDIHvISS521Prxtb8HrG/sOyHjUehhuDDt0zA6ONNV4Ne4Pcu xNbJRYWPOBE2/4pL74JaMQCknHCCfCkXb2s3x1pxeGi/Nxhy56Xv2Ht7+2hPqykbQK5P tPy4mdAuNwC/4OEWD0TfZPVsfmPSNaEsF0WD3hq4qOyHawesFxXpidlWqR0MeJT3fmio KHt8c5WK3tROZLzXENmXYtNdVzl4Yro9oek3dT+Kyh5W7iKW5zSzFVPMyGZFIEdr3Dl9 DAmoLcFlcD4KABy7oY4hqKxEI5BFo1O/xO1+BqBQTOaqeP1GOczkWJpTUZlEFslEgqyE nNXw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a1709029a4200b00186994f6e90si1240558plv.529.2022.10.22.16.08.51; Sat, 22 Oct 2022 16:09:03 -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 Content-Transfer-Encoding: 8bit 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 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 -- 2.37.3