Page MenuHomeFreeBSD

imp (Warner Losh)
User

Projects

User Details

User Since
Jun 2 2014, 4:20 PM (529 w, 4 d)

Recent Activity

Yesterday

imp committed rG56ecc8a93221: pci_user: Rename _old to _freebsd6 (authored by imp).
pci_user: Rename _old to _freebsd6
Fri, Jul 26, 11:27 PM
imp closed D45867: pci_user: Rename _old to _freebsd6.
Fri, Jul 26, 11:26 PM
imp added a comment to D42246: gpart: More nuance for GPT support.

I'm unsure about this

Fri, Jul 26, 11:26 PM
imp updated the summary of D46144: freebsd: Use compiler.h from FreeBSD's base's linuxkpi.
Fri, Jul 26, 8:31 PM
imp updated the diff for D46144: freebsd: Use compiler.h from FreeBSD's base's linuxkpi.

Nothing except zfs_fallthrough is needed.

Fri, Jul 26, 8:30 PM
imp abandoned D46145: linuxkpi: Small tweaks to _ONCE macros.

It does undo the ACCESS_ONCE part of it, but doesn't undo the proper uintptr_t casting part. Oh, but I see the const cast is there for READ...
I can omit that bit too. OpenZFS really just reads READ_ONCE and WRITE_ONCE anyway. It
suffers from defining this stuff in too many different places :(.

Fri, Jul 26, 8:10 PM
imp added a comment to D45852: Stop checking for failures from malloc(M_WAITOK).

I'd prefer a bunch of small, self-contained commits. I'd tag them all with this one review. Phabricator isn't ideal with that, but it's the best we have.
That way, we can MFC them piecemeal if need be, and people trying to 'merge all FOO driver changes' or whatever will see the right thing.
If you're worried, push a branch to github and I can take a look.

Fri, Jul 26, 7:57 PM
imp accepted D46167: openssl: declare getrandom(2) before use.

I see the warning in my builds, but it keeps going...

Fri, Jul 26, 5:34 PM
imp added a comment to D45815: LinuxKPI: move __kmalloc from slab.h to slab.c.

I have a stale review comment somewhere I can't find now. But it said something like "I like this change because we do way too much inlining in the linuxkpi because that causes problems with our goal to have a stable ABI on a stable branch"

Fri, Jul 26, 2:45 PM
imp accepted D46149: buf_ring: Support DEBUG_BUFRING in userspace.
Fri, Jul 26, 2:43 PM
imp accepted D46150: buf_ring: Consistently use atomic_*_32.

A question about volatile away from the review.
Having both atomics and volatile isn't the usual pattern and the CW has usually been that adding volatile won't fix code like this, so either remove volatile, or comment about what it accomplishes likely is appropriate even if it's a brief reference....

Fri, Jul 26, 2:42 PM
imp accepted D46159: arm64: Expand the use of Armv8.1-A atomics.

Do we care about Arm 8.0? Or will __ARM_FEATURE_ATOMICS not be defined there?

Fri, Jul 26, 2:35 PM
imp added a comment to D45852: Stop checking for failures from malloc(M_WAITOK).

This is a large but quite simple change. Any objections ?

Fri, Jul 26, 1:40 PM
imp added a comment to D46153: buf_ring: Remove old arm-only dequeue code.
In D46153#1052004, @imp wrote:

There's other inconsistent stuff here, but this looks save since the data is protected by a lock.

Fri, Jul 26, 1:35 PM
imp accepted D46153: buf_ring: Remove old arm-only dequeue code.

There's other inconsistent stuff here, but this looks save since the data is protected by a lock.

Fri, Jul 26, 1:28 PM
imp accepted D46148: buf_ring: Remove PREFETCH_DEFINED.
Fri, Jul 26, 12:46 PM
imp requested review of D46146: Prune bogus junk.
Fri, Jul 26, 12:17 AM
imp updated the diff for D46144: freebsd: Use compiler.h from FreeBSD's base's linuxkpi.

more reduction

Fri, Jul 26, 12:16 AM

Thu, Jul 25

imp requested review of D46145: linuxkpi: Small tweaks to _ONCE macros.
Thu, Jul 25, 11:57 PM
imp requested review of D46144: freebsd: Use compiler.h from FreeBSD's base's linuxkpi.
Thu, Jul 25, 11:53 PM
imp added a comment to D46137: cdefs: Add __deprecated.

Just posted to arch@

Thu, Jul 25, 7:45 PM
imp added a comment to D46137: cdefs: Add __deprecated.

Yea, I hadn't planned on including the second paragraph...

Thu, Jul 25, 6:05 PM
imp requested review of D46137: cdefs: Add __deprecated.
Thu, Jul 25, 5:31 PM
imp added a comment to D46099: Deprecate contigfree(9) in favour of free(9).

I kinda like moving to __deprecated... but we can do that separately after the final form is agreed to.

Thu, Jul 25, 3:13 PM
imp committed rG169d06911699: smbios: Compile into the kernel more completely (authored by allanjude).
smbios: Compile into the kernel more completely
Thu, Jul 25, 5:14 AM
imp committed rG4eee292ab663: Revert "cam: better ioctl compatibility for cd" (authored by imp).
Revert "cam: better ioctl compatibility for cd"
Thu, Jul 25, 5:14 AM
imp added a reverting change for rG028b16e2088a: cam: better ioctl compatibility for cd: rG4eee292ab663: Revert "cam: better ioctl compatibility for cd".
Thu, Jul 25, 5:14 AM
imp committed rG5a0e9036d879: ipmi: Sort ipmi lines. (authored by imp).
ipmi: Sort ipmi lines.
Thu, Jul 25, 5:14 AM
imp committed rG2e35684a0390: arm64: Add smbios to kernel (authored by imp).
arm64: Add smbios to kernel
Thu, Jul 25, 5:14 AM
imp committed rG06326613afeb: smbios: Add length sanity checking (authored by imp).
smbios: Add length sanity checking
Thu, Jul 25, 5:14 AM
imp added a reverting change for D42666: cam: better ioctl compatibility for cd: rG4eee292ab663: Revert "cam: better ioctl compatibility for cd".
Thu, Jul 25, 5:14 AM
imp closed D45765: smbios: Compile into the kernel more completely.
Thu, Jul 25, 5:13 AM
imp committed rGce41bee0b4b8: ipmi_smbios: Only search for the BIOS signature on x86 (authored by imp).
ipmi_smbios: Only search for the BIOS signature on x86
Thu, Jul 25, 5:13 AM
imp closed D45764: arm64: Add smbios to kernel.
Thu, Jul 25, 5:13 AM
imp closed D45763: smbios: Add length sanity checking.
Thu, Jul 25, 5:13 AM
imp closed D39097: cdefs.h: Start to modernize.

This has landed, though in too many commits to document here.

Thu, Jul 25, 5:00 AM
imp abandoned D42786: cdefs: Add support for tinyc (tcc).

This landed differently

Thu, Jul 25, 4:58 AM
imp committed rG028b16e2088a: cam: better ioctl compatibility for cd (authored by imp).
cam: better ioctl compatibility for cd
Thu, Jul 25, 4:49 AM
imp committed rG0a59a6b02fcc: style: Allow C++ comments (authored by imp).
style: Allow C++ comments
Thu, Jul 25, 4:49 AM
imp committed rGa05a680469a7: newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY (authored by imp).
newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY
Thu, Jul 25, 4:49 AM
imp committed rG5b56413d04e6: newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY (authored by imp).
newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY
Thu, Jul 25, 4:49 AM
imp closed D35960: style: Allow C++ comments.
Thu, Jul 25, 4:49 AM
imp closed D42666: cam: better ioctl compatibility for cd.
Thu, Jul 25, 4:49 AM
imp committed rG29d13f3d06de: newbus: Document new DEVICE_UNIT_ANY (authored by imp).
newbus: Document new DEVICE_UNIT_ANY
Thu, Jul 25, 4:49 AM
imp committed rG22ea1ec051c1: newbus: introduce DEVICE_UNIT_ANY (authored by imp).
newbus: introduce DEVICE_UNIT_ANY
Thu, Jul 25, 4:49 AM
imp committed rG195a96f0b303: stand: Stop building in fat, ext2fs, gzip and bzip to BIOS /boot/loader (authored by imp).
stand: Stop building in fat, ext2fs, gzip and bzip to BIOS /boot/loader
Thu, Jul 25, 3:19 AM
imp closed D42416: stand: Stop building in fat, ext2fs, gzip and bzip to BIOS /boot/loader.
Thu, Jul 25, 3:19 AM
imp closed D45375: cross-build: Define DEFFILEMODE and ALLPERMS if not defined.
Thu, Jul 25, 2:49 AM
imp committed rG18cf1e502321: cross-build: Define DEFFILEMODE and ALLPERMS if not defined (authored by imp).
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
Thu, Jul 25, 2:49 AM
imp closed D45374: cross-build: progname.c is used only on linux, so no ifdefs needed.
Thu, Jul 25, 2:49 AM
imp committed rG744991d495b2: cross-build: progname.c is used only on linux, so no ifdefs needed (authored by imp).
cross-build: progname.c is used only on linux, so no ifdefs needed
Thu, Jul 25, 2:49 AM
imp closed D45373: cross-build: Move fcntl.h workaround to Linux specific file.
Thu, Jul 25, 2:48 AM
imp committed rG4a0b7955fd72: cross-build: Move fcntl.h workaround to Linux specific file (authored by imp).
cross-build: Move fcntl.h workaround to Linux specific file
Thu, Jul 25, 2:48 AM
imp committed rGf68c4b4746f2: nvme: Add bit names for nvme 2.0 for Async Events (authored by imp).
nvme: Add bit names for nvme 2.0 for Async Events
Thu, Jul 25, 2:48 AM
imp accepted D46120: sysrc: Be quiet when changing values.
Thu, Jul 25, 2:30 AM

Wed, Jul 24

imp accepted D46118: vm: Remove kernel stack swapping support, part 7.

Any idea how to test this?
Will something else killing, eg, camcontrol which has issued the command before the I/O is complete be a good test?
I guess I'm nervous for reasons that maybe are completly irrational and looking for some way to test this...

Wed, Jul 24, 10:18 PM
imp added inline comments to D46118: vm: Remove kernel stack swapping support, part 7.
Wed, Jul 24, 9:52 PM
imp accepted D46117: vm: Remove kernel stack swapping support, part 6.

Can we document which processes/tools do that?

Wed, Jul 24, 9:51 PM
imp accepted D46116: vm: Remove kernel stack swapping support, part 5.

"delete nop that's now no longer called" :)

Wed, Jul 24, 9:50 PM
imp accepted D46115: vm: Remove kernel stack swapping support, part 4.
Wed, Jul 24, 9:50 PM
imp accepted D46114: vm: Remove kernel stack swapping support, part 3.
Wed, Jul 24, 9:47 PM
imp accepted D46113: vm: Remove kernel stack swapping support, part 2.
Wed, Jul 24, 9:46 PM
imp accepted D46112: vm: Remove kernel stack swapping support, part 1.
Wed, Jul 24, 9:46 PM
imp added a comment to D46108: exit(3): make it thread-safe.
In D46108#1051011, @kib wrote:
In D46108#1051006, @imp wrote:

It wouldn't hurt to note in the commit message that this brings us into compliance with posix.1-2024 on this point. Many people may not know why the austin group matters

This requirement is definitely not in 1-2024, the issue is new (in the sense that it was created on the austingroup bugtracker recently).

Wed, Jul 24, 9:43 PM
imp added a comment to D46108: exit(3): make it thread-safe.

It wouldn't hurt to note in the commit message that this brings us into compliance with posix.1-2024 on this point. Many people may not know why the austin group matters

Wed, Jul 24, 8:58 PM
imp accepted D46108: exit(3): make it thread-safe.

I love it when a plan comes together so nicely. Agree 100% that this should be deterministic

Wed, Jul 24, 8:57 PM
imp added a comment to D46099: Deprecate contigfree(9) in favour of free(9).

Apart from the one comment I left, I like it. Here's more context on some of these drivers than maybe you wanted...

Wed, Jul 24, 8:15 PM
imp accepted D46104: libthr: Preresolve selected EABI symbols on arm.

With kib's changes...

Wed, Jul 24, 6:07 PM
imp accepted D46103: depend-cleanup.sh: Simplify handling for stale syscall.S.

I was worried this would always force a rebuild of syscall.o.
But reading clean_dep I've convinced myself that this is a good change.
And reason to not also do it on i386? Why do we still need the MACHINE check?

Wed, Jul 24, 5:02 PM

Tue, Jul 23

imp committed rGbb7f7d5b5201: nvme: Warn if there's system interrupt issues. (authored by imp).
nvme: Warn if there's system interrupt issues.
Tue, Jul 23, 11:05 PM
imp committed rGaa41354349c1: nvme: Optimize timeout code further (authored by imp).
nvme: Optimize timeout code further
Tue, Jul 23, 11:05 PM
imp committed rGe6d3ba4be27d: nvme: Lock when processing an abort completion command. (authored by imp).
nvme: Lock when processing an abort completion command.
Tue, Jul 23, 11:04 PM
imp closed D46031: nvme: Warn if there's system interrupt issues..
Tue, Jul 23, 11:04 PM
imp committed rG86909f7aeb68: nvme: Always lock and only avoid processing for recovery state (authored by imp).
nvme: Always lock and only avoid processing for recovery state
Tue, Jul 23, 11:04 PM
imp closed D46026: nvme: Optimize timeout code further.
Tue, Jul 23, 11:04 PM
imp closed D46025: nvme: Lock when processing an abort completion command..
Tue, Jul 23, 11:04 PM
imp closed D46024: nvme: Always lock and only avoid processing for recovery state.
Tue, Jul 23, 11:04 PM
imp committed rG17853db4b0dc: ota: Merge 20240623 (bsd-features) from ota 9f971fba471b (authored by imp).
ota: Merge 20240623 (bsd-features) from ota 9f971fba471b
Tue, Jul 23, 10:03 PM
imp accepted D46071: arm64: Add counter timer registers to armreg.h.
Tue, Jul 23, 9:39 PM
imp committed rG381c116afc1f: ota: Import 9f971fba471b from bsd-feature for 20240623 (authored by imp).
ota: Import 9f971fba471b from bsd-feature for 20240623
Tue, Jul 23, 9:32 PM
imp accepted D46070: mitigations(7): note that FORTIFY_SOURCE must be set in the env.
Tue, Jul 23, 9:06 PM

Sat, Jul 20

imp abandoned D46032: ada/da: Ignore CCBs at wrong priority in *start.

I'll do this as asserts in 6 months or so if the other fixes I just pushed to -current (and Netflix's tree) eliminate all the priority messages in our logs...
Until then abandon this to de-clutter things at least a little

Sat, Jul 20, 8:04 PM
imp committed rGd3795c1d72f0: cam/iosched: Use better malloc idiom (authored by imp).
cam/iosched: Use better malloc idiom
Sat, Jul 20, 8:00 PM
imp closed D46043: cam/iosched: Use better malloc idiom.
Sat, Jul 20, 7:59 PM
imp committed rG18606111ec5b: networking.7: remove confusing caveat (authored by concussious.bugzilla_runbox.com).
networking.7: remove confusing caveat
Sat, Jul 20, 4:48 PM
imp committed rG95c280792505: manuals/description: system video console utilitys (authored by concussious.bugzilla_runbox.com).
manuals/description: system video console utilitys
Sat, Jul 20, 4:48 PM
imp committed rG29020ea39d6c: development.7/FILES: add CONTRIBUTING + git-arc.sh (authored by concussious.bugzilla_runbox.com).
development.7/FILES: add CONTRIBUTING + git-arc.sh
Sat, Jul 20, 4:48 PM
imp committed rG735f676b91a5: kbcontrol.1+kbdmap.1: improve manual descriptions (authored by concussious.bugzilla_runbox.com).
kbcontrol.1+kbdmap.1: improve manual descriptions
Sat, Jul 20, 4:48 PM
imp committed rGd3de5c5b4529: cdefs.h: Don't define fallback for _Static_assert (authored by imp).
cdefs.h: Don't define fallback for _Static_assert
Sat, Jul 20, 4:13 PM
imp committed rG22cdafe197ac: cdefs.h: Don't define fallback for _Static_assert (authored by imp).
cdefs.h: Don't define fallback for _Static_assert
Sat, Jul 20, 4:08 PM
imp committed rGeaa3d34b6220: cdefs.9: Update for C++ environments (authored by imp).
cdefs.9: Update for C++ environments
Sat, Jul 20, 3:51 PM
imp committed rG403cc016c07a: cam/iosched: Fix build (authored by imp).
cam/iosched: Fix build
Sat, Jul 20, 4:23 AM
imp committed R9:9237bf3bb70c: 2024q2 report: Misc tweaks (authored by imp).
2024q2 report: Misc tweaks
Sat, Jul 20, 3:10 AM
imp committed rG123e29068ecf: nvme: widen nvme_qpair_manual_complete_request for better errors (authored by imp).
nvme: widen nvme_qpair_manual_complete_request for better errors
Sat, Jul 20, 3:00 AM
imp committed rG9229b3105d88: nvme: Fail passthrough commands right away in failed state. (authored by imp).
nvme: Fail passthrough commands right away in failed state.
Sat, Jul 20, 2:59 AM
imp committed rG9cbf3d618273: cam/iosched: Make each periph driver provide schedule fnp (authored by imp).
cam/iosched: Make each periph driver provide schedule fnp
Sat, Jul 20, 2:59 AM
imp committed rGdd6123ebf02b: cam/iosched: Log outlier latency events (authored by imp).
cam/iosched: Log outlier latency events
Sat, Jul 20, 2:59 AM
imp committed rG6f1dd6071a91: cam/iosched: Pass in the disk when initializing (authored by imp).
cam/iosched: Pass in the disk when initializing
Sat, Jul 20, 2:59 AM
imp closed D46049: nvme: widen nvme_qpair_manual_complete_request for better errors.
Sat, Jul 20, 2:59 AM
imp closed D46048: nvme: Fail passthrough commands right away in failed state..
Sat, Jul 20, 2:59 AM