mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Cc: x86@kernel.org, Thomas Gleixner <tglx@kernel.org>,
	Ingo Molnar <mingo@redhat.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Andy Lutomirski <luto@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Ard Biesheuvel <ardb@kernel.org>,
	Nathan Chancellor <nathan@kernel.org>,
	linux-kernel@vger.kernel.org,
	Jared White <jaredwhite@microsoft.com>
Subject: Re: [PATCH v2 2/2] x86/mm/64: free the gap between BSS_MAIN and BSS_DECRYPTED
Date: Thu, 9 Jul 2026 15:36:35 -0700	[thread overview]
Message-ID: <20260709223635.GDalAic9FJDPeuPtpy@fat_crate.local> (raw)
In-Reply-To: <20260623152430.1473481-2-hamzamahfooz@linux.microsoft.com>

On Tue, Jun 23, 2026 at 11:24:30AM -0400, Hamza Mahfooz wrote:
> This region is unused after mark_rodata_ro() and takes up, up to 2 MiB
> of memory. So, free it in mark_rodata_ro().
> 
> Co-developed-by: Jared White <jaredwhite@microsoft.com>
> Signed-off-by: Jared White <jaredwhite@microsoft.com>
> Signed-off-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
> ---
>  arch/x86/include/asm/sections.h | 1 +
>  arch/x86/kernel/vmlinux.lds.S   | 2 ++
>  arch/x86/mm/init_64.c           | 4 ++++
>  3 files changed, 7 insertions(+)

Sashiko has comments:

https://sashiko.dev/#/patchset/20260623152430.1473481-1-hamzamahfooz%40linux.microsoft.com

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

  reply	other threads:[~2026-07-09 22:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-23 15:24 [PATCH v2 1/2] x86/build: only align ENTRY_TEXT to PMD_SIZE if necessary Hamza Mahfooz
2026-06-23 15:24 ` [PATCH v2 2/2] x86/mm/64: free the gap between BSS_MAIN and BSS_DECRYPTED Hamza Mahfooz
2026-07-09 22:36   ` Borislav Petkov [this message]
2026-07-09 23:14 ` [tip: x86/cleanups] x86/build: Only align ENTRY_TEXT to PMD_SIZE if necessary tip-bot2 for Hamza Mahfooz
2026-07-10  9:30 ` [tip: x86/build] " tip-bot2 for Hamza Mahfooz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260709223635.GDalAic9FJDPeuPtpy@fat_crate.local \
    --to=bp@alien8.de \
    --cc=ardb@kernel.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=hamzamahfooz@linux.microsoft.com \
    --cc=hpa@zytor.com \
    --cc=jaredwhite@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mingo@redhat.com \
    --cc=nathan@kernel.org \
    --cc=peterz@infradead.org \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®