aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2019-12-22 06:56:44 +0000
committerJeff Roberson <jeff@FreeBSD.org>2019-12-22 06:56:44 +0000
commit3cf3b4e6419d14ed25c0b67b84763b3be937c8b5 (patch)
tree2e580af663c9ad79e336380280fddd5e5ad0219b /contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentffac39deae0a2e50aa8d1197d15b8d0bb7e778fd (diff)
Make page busy state deterministic on free. Pages must be xbusy when
removed from objects including calls to free. Pages must not be xbusy when freed and not on an object. Strengthen assertions to match these expectations. In practice very little code had to change busy handling to meet these rules but we can now make stronger guarantees to busy holders and avoid conditionally dropping busy in free. Refine vm_page_remove() and vm_page_replace() semantics now that we have stronger guarantees about busy state. This removes redundant and potentially problematic code that has proliferated. Discussed with: markj Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D22822
Notes
svn path=/head/; revision=356002
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions