Any more input on this one?
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Jul 9 2024
Jul 8 2024
kib: style fixup
In D45918#1046830, @kib wrote:It seems that db_error() is the only caller of kdb_reenter_silent(). And then it might be better to panic in kdb_reenter_silent() instead, I am not sure. [To make kdb_reenter_silent() more strict]
In D45891#1046815, @arichardson wrote:No sure how much the builtins optimization matters here but if it does the other workaround would be:
void* memcpy_for_plt(void*, const void*, size_t) asm("memcpy")And then call that.
Jul 7 2024
Jul 6 2024
kib: comment the cflag
kib: just disable all builtins
In D45891#1046235, @kib wrote:Should we disable all built-ins for the file, for the same reasoning?
Jul 5 2024
Yeah, we should use the value from sx_try_lock, and we'd like to enforce that it's checked too I guess.
imp: sx_xlock too
In D45875#1045918, @imp wrote:Why didn't sx_lock() complain?
Jul 3 2024
Jul 2 2024
In D45826#1045245, @kib wrote:In D45826#1044991, @rlibby wrote:By the way, I thought about also making these strict-aliasing safe with a union. It's straightforward and also gets rid of the casts. However, since we explicitly build with -fno-strict-aliasing, there's not much motivation. But in case you'd prefer that, I can tweak these patches.
Why would a special treat for aliasing needed? There is the "memory" clobber.
By the way, I thought about also making these strict-aliasing safe with a union. It's straightforward and also gets rid of the casts. However, since we explicitly build with -fno-strict-aliasing, there's not much motivation. But in case you'd prefer that, I can tweak these patches.
Jul 1 2024
In D45825#1044906, @imp wrote:Ok. So non c11 env?
In D45825#1044894, @imp wrote:Seems fine... what compilers / build env hits this?
Test patch used to examine codegen:
Jun 28 2024
Jun 27 2024
imp: s/vm_offset_t/uintptr_t/
Jun 26 2024
In D45750#1043538, @imp wrote:why the crazy vm_offset_t instead of uintptr_t??
In D45751#1043496, @tuexen wrote:Why is an uint64_t not good enough to hold a pointer? Aren't pointers 32-bit or 64-bit on all architectures FreeBSD supports?
Jun 25 2024
Jun 24 2024
In D45707#1042749, @markj wrote:Given that the next 70 lines are mostly manually setting bits in the mask, I'd err on the side of entirely removing this initialization.