aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
diff options
context:
space:
mode:
authorDoug Moore <dougm@FreeBSD.org>2024-10-14 17:07:59 +0000
committerDoug Moore <dougm@FreeBSD.org>2024-10-14 17:07:59 +0000
commit2c8caa4b3925aa73350d687cd13876c275f35889 (patch)
tree45e0c418d2b8f90ab155e687a02d9951f7cdc364 /contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
parent7763b194d8de6fe8034f754064449a7510ca16b9 (diff)
vfs_subr: optimize inval_buf_range
Use a pctrie_lookup to avoid walking over low out-of-range buf list entries, and an early break to avoid the high out-of-range entries. Avoid writing almost identical loops for the dirty and clean lists. Because pctries are built for unsigned keys, and these are signed values, handle the wraparound problem the same way that bnoreuselist() does. Reviewed by: kib Tested by: pho Differential Revision: https://reviews.freebsd.org/D46963
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces')
0 files changed, 0 insertions, 0 deletions