https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253511

--- Comment #6 from commit-h...@freebsd.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=941747f63cfa127248e6c7246f75c5ac5e142fcc

commit 941747f63cfa127248e6c7246f75c5ac5e142fcc
Author:     Jason A. Harmening <j...@freebsd.org>
AuthorDate: 2021-02-15 02:47:22 +0000
Commit:     Jason A. Harmening <j...@freebsd.org>
CommitDate: 2021-02-24 00:04:00 +0000

    Fix divide-by-zero panic when ASLR is enabled and superpages disabled

    When locating the anonymous memory region for a vm_map with ASLR
    enabled, we try to keep the slid base address aligned on a superpage
    boundary to minimize pagetable fragmentation and maximize the potential
    usage of superpage mappings.  We can't (portably) do this if superpages
    have been disabled by loader tunable and pagesizes[1] is 0, and it
    would be less beneficial in that case anyway.

    PR:             253511

    (cherry picked from commit 41032835dc2d489ec7841d7529f74f6389329cd3)

 sys/kern/imgact_elf.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to