After D40698 is committed, there will no longer be any point to maintaining a binary search routine for ffs; inlines will always do it as well or better.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/kern/subr_blist.c | ||
---|---|---|
191–193 | _Static_assert is to be preferred (see CTASSERT(9)). And why not ==? |
sys/kern/subr_blist.c | ||
---|---|---|
191–193 | I'll change to _Static_assert. If somebody someday makes a change that makes u_daddr_t 32-bits on some architecture, should this assert fail for that architecture? fffsll will still work correctly. |