The code works but has a nasty corner case -- what if the process has only 2 fds opened, say 0 and 8364742 (or some other high number). Then you copy out out rather huge bitmap and force it to scan it.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Oct 21 2023
Oct 21 2023
Oct 19 2023
Oct 19 2023
I think this is a pretty weird choice.
Oct 14 2023
Oct 14 2023
mjg committed rGa0c5d373435c: vfs cache: Drop known argument of internal cache_recalc_neg_min() (authored by olce).
vfs cache: Drop known argument of internal cache_recalc_neg_min()
mjg committed rGc79af90ce42f: vfs: convert recycles_count and recycles_free_count to mere u_long (authored by mjg).
vfs: convert recycles_count and recycles_free_count to mere u_long
mjg committed rG344bc039e974: vfs: count recycles by vnlru and by vn_alloc separately (authored by mjg).
vfs: count recycles by vnlru and by vn_alloc separately
vfs: count calls to uma_reclaim in vnlru
mjg committed rG6598816d6f2b: vfs: add max_vnlru_free to the vfs.vnode.vnlru tree (authored by mjg).
vfs: add max_vnlru_free to the vfs.vnode.vnlru tree
mjg committed rGc3cf531eace6: vfs: further speed up continuous free vnode recycle (authored by mjg).
vfs: further speed up continuous free vnode recycle
vfs: don't recycle transiently excess vnodes
mjg committed rG899b59500d24: vfs: prefix regular vnlru with a special case for free vnodes (authored by mjg).
vfs: prefix regular vnlru with a special case for free vnodes
vfs: consult freevnodes in vnlru_kick_cond
mjg committed rG988f3becc6d4: vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN) (authored by mjg).
vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN)
mjg committed rG3e0c37999a5e: vfs: don't provoke recycling non-free vnodes without a good reason (authored by mjg).
vfs: don't provoke recycling non-free vnodes without a good reason
vfs cache: denote a known bug in cache_remove_cnp
mjg committed rG4404bad2cd1f: vfs cache: plug a hypothetical corner case when freeing (authored by mjg).
vfs cache: plug a hypothetical corner case when freeing
vfs cache: sanitize debug counters
mjg committed rG9f71eb3ef40a: vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup (authored by mjg).
vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup
vfs cache: retire dothits and dotdothits counters
vfs cache: mark vfs.cache.param.size as read-only
Oct 13 2023
Oct 13 2023
mjg committed rGf6277a777aa0: vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup (authored by mjg).
vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup
mjg committed rGeb58f9e6c6df: vfs: convert recycles_count and recycles_free_count to mere u_long (authored by mjg).
vfs: convert recycles_count and recycles_free_count to mere u_long
vfs: count calls to uma_reclaim in vnlru
mjg committed rGa6a4a57ca3e8: vfs: count recycles by vnlru and by vn_alloc separately (authored by mjg).
vfs: count recycles by vnlru and by vn_alloc separately
mjg committed rGa0fb0a72b15c: vfs: add max_vnlru_free to the vfs.vnode.vnlru tree (authored by mjg).
vfs: add max_vnlru_free to the vfs.vnode.vnlru tree
mjg committed rG4deb2610cc23: vfs: further speed up continuous free vnode recycle (authored by mjg).
vfs: further speed up continuous free vnode recycle
vfs: don't recycle transiently excess vnodes
mjg committed rG12e81504ef7a: vfs: prefix regular vnlru with a special case for free vnodes (authored by mjg).
vfs: prefix regular vnlru with a special case for free vnodes
mjg committed rGf71e2bbc5e24: vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN) (authored by mjg).
vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN)
vfs: consult freevnodes in vnlru_kick_cond
mjg committed rG233167b270c8: vfs: don't provoke recycling non-free vnodes without a good reason (authored by mjg).
vfs: don't provoke recycling non-free vnodes without a good reason
mjg committed rG564cd5a91540: vfs cache: Drop known argument of internal cache_recalc_neg_min() (authored by olce).
vfs cache: Drop known argument of internal cache_recalc_neg_min()
vfs cache: denote a known bug in cache_remove_cnp
mjg committed rGc3dc958cacd8: vfs cache: plug a hypothetical corner case when freeing (authored by mjg).
vfs cache: plug a hypothetical corner case when freeing
vfs cache: sanitize debug counters
vfs cache: retire dothits and dotdothits counters
vfs cache: mark vfs.cache.param.size as read-only
mjg committed rGbdd19ce53c07: vfs: convert recycles_count and recycles_free_count to mere u_long (authored by mjg).
vfs: convert recycles_count and recycles_free_count to mere u_long
mjg committed rGe4f85a24f9ba: vfs: count recycles by vnlru and by vn_alloc separately (authored by mjg).
vfs: count recycles by vnlru and by vn_alloc separately
vfs: count calls to uma_reclaim in vnlru
mjg committed rG14babcc0815e: vfs: add max_vnlru_free to the vfs.vnode.vnlru tree (authored by mjg).
vfs: add max_vnlru_free to the vfs.vnode.vnlru tree
mjg committed rGcc2d62daa339: vfs: further speed up continuous free vnode recycle (authored by mjg).
vfs: further speed up continuous free vnode recycle
vfs: don't recycle transiently excess vnodes
mjg committed rGcfbc3927613a: vfs: prefix regular vnlru with a special case for free vnodes (authored by mjg).
vfs: prefix regular vnlru with a special case for free vnodes
vfs: consult freevnodes in vnlru_kick_cond
mjg committed rG9ff38b3d881c: vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN) (authored by mjg).
vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN)
mjg committed rG71a06765dc67: vfs: don't provoke recycling non-free vnodes without a good reason (authored by mjg).
vfs: don't provoke recycling non-free vnodes without a good reason
Oct 12 2023
Oct 12 2023
mjg committed rGa92fc3122d2b: vfs: count recycles by vnlru and by vn_alloc separately (authored by mjg).
vfs: count recycles by vnlru and by vn_alloc separately
mjg committed rG37544d976811: vfs: convert recycles_count and recycles_free_count to mere u_long (authored by mjg).
vfs: convert recycles_count and recycles_free_count to mere u_long
Oct 11 2023
Oct 11 2023
vfs: count calls to uma_reclaim in vnlru
mjg committed rG281a9715b582: vfs: add max_vnlru_free to the vfs.vnode.vnlru tree (authored by mjg).
vfs: add max_vnlru_free to the vfs.vnode.vnlru tree
mjg committed rG054f45e026d8: vfs: further speed up continuous free vnode recycle (authored by mjg).
vfs: further speed up continuous free vnode recycle
vfs: don't recycle transiently excess vnodes
Oct 10 2023
Oct 10 2023
mjg committed rG90a008e94bb2: vfs: prefix regular vnlru with a special case for free vnodes (authored by mjg).
vfs: prefix regular vnlru with a special case for free vnodes
vfs: consult freevnodes in vnlru_kick_cond
mjg committed rG1bf55a739e75: vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN) (authored by mjg).
vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN)
mjg committed rG8733bc277a38: vfs: don't provoke recycling non-free vnodes without a good reason (authored by mjg).
vfs: don't provoke recycling non-free vnodes without a good reason
Oct 9 2023
Oct 9 2023
vfs cache: denote a known bug in cache_remove_cnp
mjg committed rGb206bfb92c1f: vfs cache: plug a hypothetical corner case when freeing (authored by mjg).
vfs cache: plug a hypothetical corner case when freeing
vfs cache: sanitize debug counters
Oct 8 2023
Oct 8 2023
teken: fix up unused func warnings
Oct 6 2023
Oct 6 2023
Oct 5 2023
Oct 5 2023
mjg committed rG7a360746c877: vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup (authored by mjg).
vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup
this description is rather misleading, suggesting states get fetched one at a time. instead they are already all fetched, except there is a per-state callback
vfs cache: add 2 more optimizaiton ideas
vfs cache: denote a known bug in cache_remove_cnp
mjg committed rG0f15054f7990: vfs cache: plug a hypothetical corner case when freeing (authored by mjg).
vfs cache: plug a hypothetical corner case when freeing
vfs cache: sanitize debug counters
mjg resigned from D41806: vfs cache: Fallback to namei to resolve symlinks with leading / in target for non-native ABI.
sorry for the delay
by "here" I meant the vfs layer ;)
Oct 4 2023
Oct 4 2023
sorry mate, I'm no longer involved here, you have to prod someone else
mjg committed rG46cc15529fbf: vfs cache: garbage collect the fullpathfail2 counter (authored by mjg).
vfs cache: garbage collect the fullpathfail2 counter
mjg committed rG8d5b00a5713d: vfs cache: fix a hang when bumping vnode limit too high (authored by mjg).
vfs cache: fix a hang when bumping vnode limit too high
mjg committed rG7110784928f9: vfs: count how many times vnlru got woken up due to vnode shortage (authored by mjg).
vfs: count how many times vnlru got woken up due to vnode shortage
vfs: stabilize freevnodes_old
vfs: s/u_long vstir/bool vstir/
vfs: group vnode-related sysctls under vfs.vnode
vfs: retire kern.minvnodes
mjg committed rGe863caad0e74: vfs: use vnlru_read_freevnodes for the freevnodes sysctl (authored by mjg).
vfs: use vnlru_read_freevnodes for the freevnodes sysctl
vfs: retire vnlru_under_unlocked
vfs: fix stale comment about freevnodes management
vfs: don't kick vnlru if it is already running
mjg committed rG21a42a7c22c9: vfs: drop one vnode list lock trip during vnlru free recycle (authored by mjg).
vfs: drop one vnode list lock trip during vnlru free recycle
Oct 3 2023
Oct 3 2023
vfs cache: describe various optimization ideas
mjg committed rG38a375c472d2: vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup (authored by mjg).
vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup
Sep 30 2023
Sep 30 2023
mjg committed rGfc424de7e192: vfs cache: Drop known argument of internal cache_recalc_neg_min() (authored by olce).
vfs cache: Drop known argument of internal cache_recalc_neg_min()
vfs cache: retire dothits and dotdothits counters
vfs cache: mark vfs.cache.param.size as read-only
Sep 27 2023
Sep 27 2023
for example there was panic under load when running poudriere, i don't know if that is fixed
For this to be an option this review has to provide a list of bugs reported against block cloning and commits which fix them, as is I'm not even sure it was all sorted out.
Sep 26 2023
Sep 26 2023
sys/conf/newvers.sh: whack sccs tag
Sep 25 2023
Sep 25 2023
Have you seen debug.vfscache (hidden behind DEBUG_CACHE) and the vfs.cache_fast_lookup sysctls?
Sep 24 2023
Sep 24 2023
mjg committed rGaaeaba324335: vfs: fix reference counting/locking on LK_UPGRADE error (authored by olce).
vfs: fix reference counting/locking on LK_UPGRADE error
mjg committed rGba4d4882ce72: vfs: count how many times vnlru got woken up due to vnode shortage (authored by mjg).
vfs: count how many times vnlru got woken up due to vnode shortage
vfs: stabilize freevnodes_old
vfs: s/u_long vstir/bool vstir/