Page MenuHomeFreeBSD

rlibby (Ryan Libby)
User

Projects

User Details

User Since
Nov 12 2015, 8:14 PM (549 w, 5 d)

Recent Activity

Today

rlibby attached a referenced file: F158031792: grep-executable-stack.3771.log.
Wed, May 27, 5:19 PM
rlibby abandoned D56893: kern.mk: quiet bfd executable stack warnings.

Abandoning this for now, though I still think it would be fine to take. I addressed some of the underlying issues with D56894 and D56946.

Wed, May 27, 5:19 PM

Tue, May 19

rlibby committed rG296c174835cf: vnlru: avoid trigger calculation when force < 2 (authored by rlibby).
vnlru: avoid trigger calculation when force < 2
Tue, May 19, 6:42 PM
rlibby closed D56950: vnlru: avoid trigger calculation when force < 2.
Tue, May 19, 6:42 PM

Sat, May 16

rlibby committed rG755c1e039adf: kernel: address executable stack warnings in amd64 gcc build (authored by rlibby).
kernel: address executable stack warnings in amd64 gcc build
Sat, May 16, 8:26 PM
rlibby closed D56946: kernel: address executable stack warnings in amd64 gcc build.
Sat, May 16, 8:25 PM

Wed, May 13

rlibby committed rG33355275247c: vnlru: avoid cache line contention (authored by rlibby).
vnlru: avoid cache line contention
Wed, May 13, 5:46 PM
rlibby committed rGe30e507a7737: vfs_bio: mark uma zone pointer __read_mostly (authored by rlibby).
vfs_bio: mark uma zone pointer __read_mostly
Wed, May 13, 5:46 PM
rlibby committed rG2a56cedac2e4: bq_insert: delay the BUF_UNLOCK if not bd_flush()ing (authored by rlibby).
bq_insert: delay the BUF_UNLOCK if not bd_flush()ing
Wed, May 13, 5:46 PM
rlibby closed D56951: vnlru: avoid cache line contention.
Wed, May 13, 5:45 PM
rlibby closed D56949: vfs_bio: mark uma zone pointer __read_mostly.
Wed, May 13, 5:45 PM
rlibby closed D56948: bq_insert: delay the BUF_UNLOCK if not bd_flush()ing.
Wed, May 13, 5:45 PM

Tue, May 12

rlibby updated the diff for D56950: vnlru: avoid trigger calculation when force < 2.

Also make the vnlru_read_freevnodes() call conditional.

Tue, May 12, 7:15 PM
rlibby added a comment to D56950: vnlru: avoid trigger calculation when force < 2.

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.

Tue, May 12, 6:20 PM
rlibby added a reviewer for D56949: vfs_bio: mark uma zone pointer __read_mostly: olce.
Tue, May 12, 3:38 PM
rlibby added a comment to D56951: vnlru: avoid cache line contention.

Seems reasonable. Do you have any specific benchmark showing an actual improvement?

Tue, May 12, 3:37 PM

Mon, May 11

rlibby added reviewers for D56951: vnlru: avoid cache line contention: kib, mjg.
Mon, May 11, 7:50 PM
rlibby added a reviewer for D56950: vnlru: avoid trigger calculation when force < 2: kib.
Mon, May 11, 7:47 PM
rlibby added a reviewer for D56949: vfs_bio: mark uma zone pointer __read_mostly: kib.
Mon, May 11, 7:45 PM
rlibby added reviewers for D56948: bq_insert: delay the BUF_UNLOCK if not bd_flush()ing: kib, markj, jeff.
Mon, May 11, 7:45 PM
rlibby requested review of D56951: vnlru: avoid cache line contention.
Mon, May 11, 7:43 PM
rlibby requested review of D56950: vnlru: avoid trigger calculation when force < 2.
Mon, May 11, 7:43 PM
rlibby requested review of D56949: vfs_bio: mark uma zone pointer __read_mostly.
Mon, May 11, 7:43 PM
rlibby requested review of D56948: bq_insert: delay the BUF_UNLOCK if not bd_flush()ing.
Mon, May 11, 7:42 PM
rlibby updated the summary of D56946: kernel: address executable stack warnings in amd64 gcc build.
Mon, May 11, 4:19 PM
rlibby requested review of D56946: kernel: address executable stack warnings in amd64 gcc build.
Mon, May 11, 4:14 PM
rlibby committed rGbac7bd5038e0: linux: address executable stack warnings (authored by rlibby).
linux: address executable stack warnings
Mon, May 11, 7:43 AM
rlibby closed D56894: linux: address executable stack warnings.
Mon, May 11, 7:43 AM

Sun, May 10

rlibby committed rG0f6c880fcecd: stand/i386: quiet executable stack warning (authored by rlibby).
stand/i386: quiet executable stack warning
Sun, May 10, 4:44 AM
rlibby committed rG58e5b4dbd959: vfs_subr: mark uma zone and smr pointers __read_mostly (authored by rlibby).
vfs_subr: mark uma zone and smr pointers __read_mostly
Sun, May 10, 4:43 AM
rlibby closed D56908: stand/i386: quiet executable stack warning.
Sun, May 10, 4:43 AM
rlibby closed D56892: vfs_subr: mark uma zone and smr pointers __read_mostly.
Sun, May 10, 4:43 AM

Sat, May 9

rlibby updated the test plan for D56908: stand/i386: quiet executable stack warning.
Sat, May 9, 7:49 PM
rlibby requested review of D56908: stand/i386: quiet executable stack warning.
Sat, May 9, 7:48 PM
rlibby updated the diff for D56894: linux: address executable stack warnings.

kib feedback: try working from the bottom up instead. This has the asm
files declare that they don't need an executable stack. It does still
leave this issue building linux.ko.full:
ld: warning: linux32_vdso.so: missing .note.GNU-stack section implies executable stack

Sat, May 9, 7:46 PM
rlibby added a comment to D56894: linux: address executable stack warnings.

Okay I started on adding .section .note.GNU-stack,"",%progbits to the asm files, https://github.com/rlibby/freebsd/commit/8e408b3197545f47bd2db1c4827507c503d1d049

But I still see one of the warnings, so I must be missing something...

./sys/GENERIC/modules/usr/src/freebsd/sys/modules/linux/linux.ko.full.meta:/usr/local/x86_64-unknown-freebsd16.0/bin/ld: warning: linux32_vdso.so: missing .note.GNU-stack section implies executable stack
Sat, May 9, 1:47 AM
rlibby added a comment to D56894: linux: address executable stack warnings.

Okay I started on adding .section .note.GNU-stack,"",%progbits to the asm files, https://github.com/rlibby/freebsd/commit/8e408b3197545f47bd2db1c4827507c503d1d049

Sat, May 9, 1:04 AM
rlibby retitled D56894: linux: address executable stack warnings from linux, linux64: quiet bfd executable stack warnings to linux: address executable stack warnings.
Sat, May 9, 12:16 AM

Fri, May 8

rlibby attached a referenced file: F155810358: grep-executable-stack.log.
Fri, May 8, 11:47 PM
rlibby added a comment to D56894: linux: address executable stack warnings.
In D56894#1303299, @kib wrote:
In D56894#1303295, @kib wrote:

IMO both vdso must be build with nonexec stack, and it is better to explicitly add the gnu section to sources marking the objects.

Ack, I'll see if I can figure that out. I think this will add the section to the .so objects, but I'll see if I can get it applied earlier.

Not a section, but the non-loadable segment PT_GNUSTACK. Either way it appears in the resulting dso, but when specified using section in the source, it it explicit.
I believe linker reports which files are missing it, no?

	.section .note.GNU-stack,"",%progbits
Fri, May 8, 11:34 PM
rlibby added a comment to D56893: kern.mk: quiet bfd executable stack warnings.
$ curl https://ci.freebsd.org/job/FreeBSD-main-amd64-gcc14_build/3606/consoleText -o /tmp/FreeBSD-main-amd64-gcc14_build.3606.consoleText
$ grep "executable stack" /tmp/FreeBSD-main-amd64-gcc14_build.3606.consoleText > /tmp/grep-executable-stack.log
$ wc -l /tmp/grep-executable-stack.log 
72 /tmp/grep-executable-stack.log

Fri, May 8, 11:29 PM
rlibby added a comment to D56894: linux: address executable stack warnings.
In D56894#1303295, @kib wrote:

IMO both vdso must be build with nonexec stack, and it is better to explicitly add the gnu section to sources marking the objects.

Fri, May 8, 11:17 PM
rlibby updated the test plan for D56894: linux: address executable stack warnings.
Fri, May 8, 10:53 PM
rlibby updated the test plan for D56893: kern.mk: quiet bfd executable stack warnings.
Fri, May 8, 10:52 PM
rlibby requested review of D56894: linux: address executable stack warnings.
Fri, May 8, 10:50 PM
rlibby requested review of D56893: kern.mk: quiet bfd executable stack warnings.
Fri, May 8, 10:50 PM
rlibby updated the test plan for D56892: vfs_subr: mark uma zone and smr pointers __read_mostly.
Fri, May 8, 10:47 PM
rlibby requested review of D56892: vfs_subr: mark uma zone and smr pointers __read_mostly.
Fri, May 8, 10:45 PM
rlibby committed rG324d53c26b23: sys/time: rework saturation ifdef to avoid direct arch ref (authored by rlibby).
sys/time: rework saturation ifdef to avoid direct arch ref
Fri, May 8, 8:06 PM
rlibby committed rG94323513dd50: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T (authored by rlibby).
types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T
Fri, May 8, 8:06 PM
rlibby closed D56401: sys/time: rework saturation ifdef to avoid direct arch ref.
Fri, May 8, 8:06 PM
rlibby closed D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.
Fri, May 8, 8:06 PM
rlibby committed rGcab150feb82e: sys/time: appease gcc -Wtype-limits (authored by rlibby).
sys/time: appease gcc -Wtype-limits
Fri, May 8, 3:36 PM

Thu, May 7

rlibby committed rG944a4eb089b3: stand/libsa/zfs: disable ZSTD_TRACE and DYNAMIC_BMI2 code paths (authored by rlibby).
stand/libsa/zfs: disable ZSTD_TRACE and DYNAMIC_BMI2 code paths
Thu, May 7, 5:32 PM
rlibby closed D56866: stand/libsa/zfs: disable ZSTD_TRACE and DYNAMIC_BMI2 code paths.
Thu, May 7, 5:32 PM
rlibby updated the test plan for D56866: stand/libsa/zfs: disable ZSTD_TRACE and DYNAMIC_BMI2 code paths.
Thu, May 7, 5:11 AM
rlibby requested review of D56866: stand/libsa/zfs: disable ZSTD_TRACE and DYNAMIC_BMI2 code paths.
Thu, May 7, 5:08 AM

Tue, May 5

rlibby added a comment to D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.

Okay, sounds good. I'll skip the exp-run on this and plan to push it probably on Friday afternoon.

Tue, May 5, 6:22 AM
rlibby committed rG6f84579ae4d1: nfs_pub: move from vfs_subr.c to vfs_export.c (authored by rlibby).
nfs_pub: move from vfs_subr.c to vfs_export.c
Tue, May 5, 6:06 AM
rlibby closed D56777: nfs_pub: move from vfs_subr.c to vfs_export.c.
Tue, May 5, 6:06 AM

Mon, May 4

rlibby added a comment to D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.

Seems fine to me. Is it worth an exp-run?

Mon, May 4, 7:00 PM
rlibby updated the diff for D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.

imp & jrtc27 feedback: don't repeat the long size detection logic

Mon, May 4, 5:51 PM
rlibby updated the diff for D56777: nfs_pub: move from vfs_subr.c to vfs_export.c.

rmacklem feedback: nfs_pub can be static in vfs_export.c

Mon, May 4, 5:38 PM
rlibby committed rGd5728351a58b: amd/int0x80 test: fix inline asm for gcc (authored by rlibby).
amd/int0x80 test: fix inline asm for gcc
Mon, May 4, 4:58 PM
rlibby closed D56781: amd/int0x80 test: fix inline asm for gcc.
Mon, May 4, 4:58 PM
rlibby added inline comments to D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.
Mon, May 4, 4:10 PM
rlibby added inline comments to D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.
Mon, May 4, 4:02 PM
rlibby added inline comments to D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.
Mon, May 4, 3:48 PM
rlibby added a reviewer for D56777: nfs_pub: move from vfs_subr.c to vfs_export.c: kib.
Mon, May 4, 3:27 PM
rlibby updated the diff for D56401: sys/time: rework saturation ifdef to avoid direct arch ref.

Move providing type size macros to a parent commit.

Mon, May 4, 9:02 AM
rlibby updated the test plan for D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.
Mon, May 4, 8:58 AM
rlibby requested review of D56783: types: provide __SIZEOF_{INT{8,16,32,64},TIME,TIME32}_T.
Mon, May 4, 8:52 AM
rlibby updated the summary of D56781: amd/int0x80 test: fix inline asm for gcc.
Mon, May 4, 8:30 AM
rlibby updated the summary of D56781: amd/int0x80 test: fix inline asm for gcc.
Mon, May 4, 8:29 AM
rlibby requested review of D56781: amd/int0x80 test: fix inline asm for gcc.
Mon, May 4, 8:23 AM
rlibby added inline comments to D56777: nfs_pub: move from vfs_subr.c to vfs_export.c.
Mon, May 4, 4:44 AM
rlibby added a reviewer for D56777: nfs_pub: move from vfs_subr.c to vfs_export.c: dfr.
Mon, May 4, 4:43 AM

Sun, May 3

rlibby updated the summary of D56777: nfs_pub: move from vfs_subr.c to vfs_export.c.
Sun, May 3, 10:54 PM
rlibby requested review of D56777: nfs_pub: move from vfs_subr.c to vfs_export.c.
Sun, May 3, 10:41 PM

Sat, May 2

rlibby committed rG050b3ff753e0: libzpool: force inlining of xxhash after removing xxhash.c (authored by rlibby).
libzpool: force inlining of xxhash after removing xxhash.c
Sat, May 2, 8:02 PM
rlibby closed D56770: libzpool: force inlining of xxhash after removing xxhash.c.
Sat, May 2, 8:02 PM
rlibby updated the test plan for D56770: libzpool: force inlining of xxhash after removing xxhash.c.
Sat, May 2, 4:35 PM
rlibby requested review of D56770: libzpool: force inlining of xxhash after removing xxhash.c.
Sat, May 2, 4:31 PM

Apr 15 2026

rlibby added a comment to D56401: sys/time: rework saturation ifdef to avoid direct arch ref.

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.

Apr 15 2026, 5:32 PM
rlibby added a comment to D56401: sys/time: rework saturation ifdef to avoid direct arch ref.

What do you think of this? https://github.com/rlibby/freebsd/commit/73605b3a9268d5ea7ad52650ba9ba7c808842dc5

Apr 15 2026, 5:05 PM
rlibby committed rG0c09c6527b16: tests/fusefs: appease gcc -Wcast-qual (authored by rlibby).
tests/fusefs: appease gcc -Wcast-qual
Apr 15 2026, 4:35 PM
rlibby closed D56370: tests/fusefs: appease gcc -Wcast-qual.
Apr 15 2026, 4:35 PM
rlibby added a comment to D56401: sys/time: rework saturation ifdef to avoid direct arch ref.
In D56401#1291397, @kib wrote:

Of course it must use the same __SIZEOF_<uppercase type name> as the type used for time_t.

Apr 15 2026, 4:22 PM
rlibby added a comment to D56370: tests/fusefs: appease gcc -Wcast-qual.
-       ASSERT_EQ(0, pthread_create(&th0, NULL, setattr_th, (void*)FULLSRC))
+       ASSERT_EQ(0, pthread_create(&th0, NULL, setattr_th, (void*)&FULLSRC))
                << strerror(errno);
Apr 15 2026, 3:43 PM
rlibby added a comment to D56401: sys/time: rework saturation ifdef to avoid direct arch ref.
In D56401#1291100, @kib wrote:

Did you considered using SIZEOF_LONG and SIZEOF_INT instead of 8/4?

Apr 15 2026, 3:36 PM
rlibby added a reviewer for D56370: tests/fusefs: appease gcc -Wcast-qual: kib.
Apr 15 2026, 9:30 AM
rlibby updated the test plan for D56401: sys/time: rework saturation ifdef to avoid direct arch ref.
Apr 15 2026, 9:27 AM
rlibby requested review of D56401: sys/time: rework saturation ifdef to avoid direct arch ref.
Apr 15 2026, 9:25 AM
rlibby committed rG00dccc3164c6: sys/time: appease gcc -Wtype-limits (authored by rlibby).
sys/time: appease gcc -Wtype-limits
Apr 15 2026, 8:35 AM
rlibby closed D56369: sys/time: appease gcc -Wtype-limits.
Apr 15 2026, 8:35 AM

Apr 14 2026

rlibby added inline comments to D56369: sys/time: appease gcc -Wtype-limits.
Apr 14 2026, 7:35 AM

Apr 13 2026

rlibby updated the summary of D56369: sys/time: appease gcc -Wtype-limits.
Apr 13 2026, 8:10 PM
rlibby updated the diff for D56369: sys/time: appease gcc -Wtype-limits.

Second try: just ifdef it out for i386.

Apr 13 2026, 8:09 PM
rlibby updated the test plan for D56369: sys/time: appease gcc -Wtype-limits.
Apr 13 2026, 6:53 PM
rlibby added inline comments to D56369: sys/time: appease gcc -Wtype-limits.
Apr 13 2026, 6:50 PM