User Details
- User Since
- Nov 12 2015, 8:14 PM (546 w, 16 h)
Wed, Apr 15
I don't feel strongly about it, beyond wanting the gcc build to work. If @kib and @imp you guys don't agree on the direction here, my inclination is just to leave it as it is after 00dccc3164c6dff38350a1baeeea7238acf2efc3 and move on.
What do you think of this? https://github.com/rlibby/freebsd/commit/73605b3a9268d5ea7ad52650ba9ba7c808842dc5
Tue, Apr 14
Mon, Apr 13
Second try: just ifdef it out for i386.
Sun, Apr 12
Oct 28 2025
Oct 20 2025
Oct 17 2025
Oct 16 2025
Great, thanks. I'll push as is.
Oct 15 2025
So, I realized that --param min-pagesize was introduced in gcc 11.3 and this will cause an error for older gcc. @imp is it still gcc 9 that's the minimum? I can either wrap this with something like
.if ${COMPILER_TYPE} == "gcc" and ${COMPILER_VERSION} >= 110300
CFLAGS.gcc+= --param min-pagesize=1024
.endifor just drop this as not worth the ugliness.
Oct 14 2025
kp feedback: just initialize the copies to 0
I'll defer to you and kib as maintainers whether this is a good direction. Personally I do like the flattening of the structure that results from moving line 561/563 and following out of the loop, but I'm less sure about the initial loop unrolling. FWIW my preference for the warning would still be to just NULL initialize child.
Oct 10 2025
Oct 9 2025
dougm feedback: _UPMOD_ macros don't improve clarity
@dougm, do you have a preference here? I'm happy to follow a suggestion or have you take it over.
Oct 8 2025
whitespace fixup
kib feedback: macro names could be more clear about modifying the
argument. I went with "MOD" instead of "SET".
kib feedback
Oct 7 2025
Oct 6 2025
There are other options for how to spell the internal macros. I'm open to something else that might be more clear. Something in particular I considered is just providing
#define _RB_OP_RVAL(elm, op, dir) ((__typeof(elm)) \ ((__uintptr_t)(elm) op (dir))) #define _RB_OP(elm, op, dir) ((elm) = _RB_OP_RVAL((elm), op, (dir))) #define _RB_OPUP(elm, field, op, dir) _RB_OP(_RB_UP((elm), field), op, (dir))
and not _RB_{OR,XOR,ORUP,XORUP} and then having the rb code look like e.g.
_RB_OPUP(parent, field, ^, elmdir);
instead of _RB_XORUP(parent, field, elmdir).
Oct 3 2025
Oct 2 2025
asomers feedback: use ATF_REQUIRE_EQ family of tests.
Oct 1 2025
Apologies, trying to recall. IIRC...
Sep 30 2025
mjg feedback: indicate when i_din2 is NULL
Alternately, we could fib and do
printf(", extsize=%d", ip->i_din2 != NULL ? ip->i_din2->di_extsize : 0);Sure, I'm ambivalent, I just wanted to fix the trap. I'll prepare the patch.