User Details
- User Since
- Nov 12 2015, 8:14 PM (557 w, 4 d)
Today
Yesterday
Refresh after conflict resolution for 02c440e20404 ("hwpstate_intel: Minimize ifdef for i386 build")
Comparing to sys/x86/include/bus.h and sys/dev/ntb/ntb_hw/ntb_hw_*.c, they just call the bus_space_tag_t parameter tag, and sys/x86/include/bus.h calls the bus_space_handle_t parameter bsh while ntb calls it handle. I think you could simplify those names. A verbatim copy of ntb's definitions would seem fine.
kib feedback and earlier olce comment: CPU_FOREACH
kib feedback from D58336: just provide pc_small_core on i386
Sat, Jul 18
Fri, Jul 17
Maybe one day we should plumb it for malloc_dbg / memguard_alloc too.
I also wonder if we should have an option to add this redzone without KASAN. We could come up with a cheap-ish debugging feature to verify the redzone with uma_junk when we don't have KASAN. Not asking for that in this patch.
Add an assertion to item_ctor() that the returned item is properly
aligned. I couldn't see any pre-existing checks which verify this.
The other thing that SMR does in this respect is it puts free buckets at the tail of uzd_buckets in zone_put_bucket. Did you think about whether you want that for KASAN also, to extend the length of time before reuse further?
Looks good.
Looks good.
Thu, Jul 16
Looks fine modulo the uz_flags comment and style and history nits.
Style nits, but logic looks good.
Just for review convenience, do you have a public git branch with the patch set?
Fri, Jul 10
Thu, Jul 9
Mon, Jun 29
Fri, Jun 26
Logic LGTM.
kib feedback
Thu, Jun 25
tweak comment and log message
Wed, Jun 24
markj feedback
whitespace fixup
Jun 18 2026
Jun 16 2026
So, why mess with the types (int -> bool and int -> u_long)? Strictly speaking it is not necessary and I can revert it if you prefer. I note though that there is no TUNABLE_UINT() and a comment for TUNABLE_INT() suggests not to use it. I don't know why this is, but just converting to bool and u_long seems fine anyway.
Addressing problems uncovered in testing. I had assumed that the
mechanism used by debug.witness.witness_count actually worked, but it
didn't. I added a new patch D57613 to address the problem with
witness_count by itself, and then applied that fix here too. I also
fixed an alignment problem.
Jun 15 2026
Jun 10 2026
Looks good. I presume you've tested it?
May 27 2026
May 19 2026
May 16 2026
May 13 2026
May 12 2026
Also make the vnlru_read_freevnodes() call conditional.
Regarding braces... I prefer to leave it with the braces. My preference is to apply to both branches if applied to one. Style says "may" be left out. There are many examples of the balanced use, including about 10 in this file.