Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2022 10:39:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261338] [PATCH] kernel panic "bad pte" under heavy CPU load on 12.2 and 12.3 (i386)
Message-ID:  <bug-261338-227-Q6auTPMGrE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261338-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261338-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261338

--- Comment #28 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3De0cc1ce7c0866d6a5c42ef09cfca9582c=
4a8343c

commit e0cc1ce7c0866d6a5c42ef09cfca9582c4a8343c
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2022-01-25 10:34:08 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2022-01-25 10:34:08 +0000

    smp_targeted_tlb_shootdown has to pin the CPU on i386

    This should fix a regression in 1820ca215461 which happened
    because pmap -> shootdown contracts on amd64 and i386 diverged.
    On amd64 the pmap code always pins the CPU before calling the shootdown
    code and expects it to unpin on return.
    On i386 the pmap code either has pins and unpins around the shootdown
    calls or does not pin at all.
    This change should account for that difference.

    In main and stable/13 the contracts are also different, but the
    shootdown code is split into the i386 and amd64 variants and each
    variant is tailored towards the platform's pmap.

    PR:             261338
    Reported by:    Dmitry K. <thedix@yandex.ru>
    Debugged by:    Dmitry K. <thedix@yandex.ru>
    Tested by:      Dmitry K. <thedix@yandex.ru>
    Fixes:  1820ca215461 MFC r368649 / 3fd989da by kib: amd64 pmap: fix PCID
mode invalidations
    Reviewed by:    kib
    X-Pointyhat to: avg
    Differential Revision:  https://reviews.freebsd.org/D33980

 sys/x86/x86/mp_x86.c | 4 ++++
 1 file changed, 4 insertions(+)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261338-227-Q6auTPMGrE>