aboutsummaryrefslogtreecommitdiff
path: root/contrib/perl5/t/pragma
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2025-09-17 16:48:54 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2025-10-04 16:43:28 +0000
commit8583840cfb925eeafac8eff171029a56f7c9c133 (patch)
tree73bb83b63faccfb4e375cc400e1f3540468e6620 /contrib/perl5/t/pragma
parentb4a079dd78a6de64dcc072a43cea41a1eb96df17 (diff)
witness: Record the first acquired file and line for recursable locksstable/13
and the last acquired file and line to witness object. For recursable locks, unfortunately current implementation records only the recurse count and the last acquired file and line, but does not restore the previous acquired file and line on unlock. Hence it is possible to report false acquired file and line, and that may mislead developers and make the report by users a little harder to analyse. Since subsequent recurse locks do not affect how witness order check, record the first acquired file and line so that the logic is much clear. Reported by: bz Reviewed by: kib (previous version), markj See also: https://lists.freebsd.org/archives/freebsd-current/2025-June/007944.html MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D52496 (cherry picked from commit 2d85bc89294baa04daf509e81ec3880bff79cc10) (cherry picked from commit 3dc9f96a489cd53710af8205a1f3901c11b760a5) (cherry picked from commit 7838ad85fb1a75464e53525b4cdb064ca1e97a47)
Diffstat (limited to 'contrib/perl5/t/pragma')
0 files changed, 0 insertions, 0 deletions