On Fri, Mar 21, 2025 at 05:34:16AM -0400, Mark Johnston wrote:
> ...
> Can we not just add redzone padding to contigmalloc() allocations?
> Compile-tested patch below:
> 
> diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
> index b1347b15e651..0b76e633b04a 100644
> --- a/sys/kern/kern_malloc.c
> +++ b/sys/kern/kern_malloc.c
> ....

OK; I started on my secondary laptop (Dell Precision 7520) after having
updated the "head" slice to main-n276038-6f6c07813b38 earlier today (and
verifying that the initial concern -- that it doesn't appear to complete
the transition to graphics mode and appears to emulate a power-consuming
brick) still occurred), I copied that slice to a different one (slice 2)
and booted from it (using a kernel from a week ago,
main-n275966-d2a55e6a9348).

I then applied Mark's patch (cleanly; no issues), then
rebuilt/installed the kernel, then rebooted... and stuff seems to work;
I get the xdm login banner Just Fine (and I can ssh into it normally).

Any other testing I can do?

Peace,
david
-- 
David H. Wolfskill                              da...@catwhisker.org
I wonder why "Правда Социальная" ("Pravda Sotsial'naya") reminds me of
the Cold War era.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

Attachment: signature.asc
Description: PGP signature

Reply via email to