[Bug 237470] [ppc][pseries] panic: Error evicting page: -7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 23 17:12:03 UTC 2019


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

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: luporl
Date: Tue Apr 23 17:11:45 UTC 2019
New revision: 346600
URL: https://svnweb.freebsd.org/changeset/base/346600

Log:
  [PPC64] Fix wrong KASSERT in mphyp_pte_insert()

  As mphyp_pte_unset() can also remove PTE entries, and as this can
  happen in parallel with PTEs evicted by mphyp_pte_insert(), there
  is a (rare) chance the PTE being evicted gets removed before
  mphyp_pte_insert() is able to do so. Thus, the KASSERT should
  check wether the result is H_SUCCESS or H_NOT_FOUND, to avoid
  panics if the situation described above occurs.

  More details about this issue can be found in PR 237470.

  PR:           237470
  Reviewed by:  jhibbits
  Differential Revision:        https://reviews.freebsd.org/D20012

Changes:
  head/sys/powerpc/pseries/mmu_phyp.c

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


More information about the freebsd-bugs mailing list