Page MenuHomeFreeBSD

markj (Mark Johnston)
User

Projects (10)

User Details

User Since
Mar 12 2014, 1:00 AM (619 w, 3 d)

Recent Activity

Yesterday

markj committed rG6abefcdd2585: Fix SATA NCQ error recovery after 25375b1415 (authored by mav).
Fri, Jan 23, 7:17 PM

Tue, Jan 20

markj added inline comments to D54592: Add pdrfork(2) and pdwait(2).
Tue, Jan 20, 10:15 PM
markj accepted D54804: ktrace: do not enqueue request if the process' ktrioparams are freed.
Tue, Jan 20, 7:42 PM
markj updated the diff for D54800: syslogd/tests: Fix flakiness in forwarding tests.

Use ${PWD}

Tue, Jan 20, 7:28 PM
markj requested review of D54800: syslogd/tests: Fix flakiness in forwarding tests.
Tue, Jan 20, 5:10 PM
markj requested review of D54799: syslogd/tests: Improve lo0 initialization.
Tue, Jan 20, 5:10 PM
markj added inline comments to D54742: vmm.4: Add information on VM access control.
Tue, Jan 20, 2:30 PM
markj added inline comments to D54779: syslogd/tests: Address races.
Tue, Jan 20, 1:51 PM

Mon, Jan 19

markj updated the diff for D54779: syslogd/tests: Address races.

Follow jlduran's suggestion of using atf_check -r.

Mon, Jan 19, 11:58 PM
markj added inline comments to D54779: syslogd/tests: Address races.
Mon, Jan 19, 11:57 PM
markj added inline comments to D54779: syslogd/tests: Address races.
Mon, Jan 19, 10:44 PM
markj added a comment to D54780: ObsoleteFiles.mk: Remove obsolete MIT KRB5 plugins.

Which revision removed these?

Mon, Jan 19, 5:10 PM
markj accepted D54766: Add pthread_tryjoin_np(3) as provided by glibc.
Mon, Jan 19, 4:48 PM
markj accepted D54781: amd64/vmm: remove unused static function vcpu_state2str().
Mon, Jan 19, 4:34 PM
markj accepted D54768: sys: do not allow entering vm_fault() on boot until VM is initialized.
Mon, Jan 19, 4:15 PM
markj accepted D54773: x86/local_apic.c: Properly calculate the number of LVT entries.
Mon, Jan 19, 4:14 PM
markj accepted D54768: sys: do not allow entering vm_fault() on boot until VM is initialized.
Mon, Jan 19, 3:59 PM
markj accepted D54642: bhyve/pci_emul.c: Introduce notion of fixed and hotpluggable slots.
Mon, Jan 19, 3:50 PM
markj requested review of D54779: syslogd/tests: Address races.
Mon, Jan 19, 3:41 PM
markj requested review of D54778: syslogd/tests: Use a helper function to log from within a jail.
Mon, Jan 19, 3:41 PM
markj added inline comments to D54766: Add pthread_tryjoin_np(3) as provided by glibc.
Mon, Jan 19, 3:02 PM
markj added a comment to D54768: sys: do not allow entering vm_fault() on boot until VM is initialized.

To be clear, the point is to have an explicit panic rather than a boot hang because we end up spinning in an uninitialized trap handler?

Mon, Jan 19, 2:44 PM
markj accepted D54773: x86/local_apic.c: Properly calculate the number of LVT entries.
Mon, Jan 19, 2:38 PM
markj closed D54750: vmm: Avoid clobbering errors from vmm_modinit().
Mon, Jan 19, 2:33 PM
markj committed rG99afbc5cc7ae: vmm: Avoid clobbering errors from vmm_modinit().
Mon, Jan 19, 2:33 PM
markj retitled D54739: bhyve: Don't log a warning when we fail to open /dev/pci from bhyve: Open /dev/pci read-only when possible
Mon, Jan 19, 2:21 PM
markj updated the diff for D54739: bhyve: Don't log a warning when we fail to open /dev/pci.

Always open /dev/pci read-write.

Mon, Jan 19, 2:19 PM

Sun, Jan 18

markj added a comment to D54753: queue(3): add function-based API.

This is really just an argument for moving away from C entirely. And I'd quite like that personally, but it's easier said than done.

My original implementation of minmax caching on wavl (using prev and next) always failed CI build on github,

Sun, Jan 18, 1:21 AM · Contributor Reviews (src)
markj added a comment to D54753: queue(3): add function-based API.

To be honest, I'm not thrilled to have a whole new set of functions for doing something already covered by queue.h and used extensively throughout the tree. These functions don't provide any type checking or debug assertions/poisoning like the queue.h macros do. These functions might be easier to use for someone not used to queue.h, but there are tons of examples of queue.h macro usage in the tree to draw from.

Type checking is done here and there is no need for (void *) casting. containerof() will return the structure that contains the node and other data. For assertion, we can let users to declare their own assert functions and call it in the headers, but I forgot to implement it here.

Sun, Jan 18, 12:37 AM · Contributor Reviews (src)

Sat, Jan 17

markj added inline comments to D54739: bhyve: Don't log a warning when we fail to open /dev/pci.
Sat, Jan 17, 10:55 PM
markj added a comment to D54753: queue(3): add function-based API.

To be honest, I'm not thrilled to have a whole new set of functions for doing something already covered by queue.h and used extensively throughout the tree. These functions don't provide any type checking or debug assertions/poisoning like the queue.h macros do. These functions might be easier to use for someone not used to queue.h, but there are tons of examples of queue.h macro usage in the tree to draw from.

Sat, Jan 17, 10:52 PM · Contributor Reviews (src)

Fri, Jan 16

markj requested review of D54750: vmm: Avoid clobbering errors from vmm_modinit().
Fri, Jan 16, 8:18 PM
markj committed rG75c591b26723: smartpqi: Avoid declaring extern inline functions.
Fri, Jan 16, 7:56 PM
markj closed D54732: smartpqi: Avoid declaring extern inline functions.
Fri, Jan 16, 7:55 PM
markj requested review of D54743: vmm: Start using exterror.
Fri, Jan 16, 4:29 PM
markj requested review of D54742: vmm.4: Add information on VM access control.
Fri, Jan 16, 4:29 PM
markj requested review of D54741: vmm: Enable unprivileged bhyve.
Fri, Jan 16, 4:29 PM
markj requested review of D54740: vmm: Add privilege checks to vmmctl operations.
Fri, Jan 16, 4:29 PM
markj requested review of D54739: bhyve: Don't log a warning when we fail to open /dev/pci.
Fri, Jan 16, 4:29 PM
markj requested review of D54738: arm64/vmm: Simplify vmmpmap_remove().
Fri, Jan 16, 4:06 PM
markj committed rGc527f58bb10b: exterr: Regenerate exterr_cat_filenames.h.
Fri, Jan 16, 4:00 PM
markj committed rGbda6ed2ee4d8: exterr: Sort output from make_libc_exterr_cat_filenames.sh.
Fri, Jan 16, 4:00 PM
markj closed D54669: exterr: Sort output from make_libc_exterr_cat_filenames.sh.
Fri, Jan 16, 3:59 PM
markj accepted D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h.
Fri, Jan 16, 3:26 PM
markj updated the diff for D54732: smartpqi: Avoid declaring extern inline functions.

Drop inline qualifiers

Fri, Jan 16, 1:17 AM
markj accepted D54737: RELNOTES: document the MAC/jail integration.
Fri, Jan 16, 12:39 AM
markj accepted D54713: Fix sendfile over tmpfs.

I wonder why we bother with bogus page replacement in sendfile_swapin(). Why not pass valid pages to the pager and let it decide how to handle it?

Fri, Jan 16, 12:24 AM

Thu, Jan 15

markj added inline comments to D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h.
Thu, Jan 15, 8:21 PM
markj requested review of D54732: smartpqi: Avoid declaring extern inline functions.
Thu, Jan 15, 5:03 PM
markj committed rG8bc63f01e3fa: nvme: Fix a typo.
Thu, Jan 15, 2:21 PM
markj committed rG6740cccb1eff: arm64/iommu: Fix a resource leak in smmu_domain_alloc().
Thu, Jan 15, 2:21 PM
markj closed D54676: arm64/iommu: Fix a resource leak in smmu_domain_alloc().
Thu, Jan 15, 2:21 PM
markj committed rG6fef0c9ee64c: arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER.
Thu, Jan 15, 2:21 PM
markj closed D54678: arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER.
Thu, Jan 15, 2:21 PM
markj committed rG251662e5abdd: linuxkpi: Clean up linux_shmem_file_setup() a bit.
Thu, Jan 15, 2:21 PM
markj closed D54673: linuxkpi: Clean up linux_shmem_file_setup() a bit.
Thu, Jan 15, 2:21 PM
markj closed D54672: linuxkpi: Avoid a potential null pointer dereference in an error path.
Thu, Jan 15, 2:20 PM
markj committed rGaa1eb6233890: linuxkpi: Avoid a potential null pointer dereference in an error path.
Thu, Jan 15, 2:20 PM
markj closed D54671: linuxkpi: Fix an error path in linux_alloc_current().
Thu, Jan 15, 2:20 PM
markj committed rGa4955b014336: linuxkpi: Fix an error path in linux_alloc_current().
Thu, Jan 15, 2:20 PM
markj closed D54662: Remove the DEBUG_VFS_LOCKS kernel option.
Thu, Jan 15, 2:20 PM
markj committed rG9d015a916745: Remove the DEBUG_VFS_LOCKS kernel option.
Thu, Jan 15, 2:20 PM
markj added inline comments to D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h.
Thu, Jan 15, 1:48 PM
markj accepted D54679: linux_file.c: Fix handling of NFS getdents() emulation.
Thu, Jan 15, 12:38 AM

Wed, Jan 14

markj added a comment to D54678: arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER.

Linux does seem to read these registers in a few places, but it's hard to see whether the bug is likely to cause problems.

I'm mainly hoping to have an answer if someone wonders (as I did) how it worked before if the return value is inverted from what it's supposed to be.

Wed, Jan 14, 5:43 PM
markj added a comment to D54678: arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER.

It doesn't seem so, at least in FreeBSD. The only read of these registers I found is in arm_gic_db_show().

Ah, OK. Probably worth including a note in the commit message to that effect.

Wed, Jan 14, 5:33 PM
markj added a comment to D54671: linuxkpi: Fix an error path in linux_alloc_current().

There's the same assertion earlier in the fn for the ts allocation.

Wed, Jan 14, 4:54 PM
markj added a comment to D54678: arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER.

Does nothing actually care about the return value today?

Wed, Jan 14, 4:54 PM
markj accepted D54115: x86: Create manpage for mca subsystem.
Wed, Jan 14, 2:22 PM
markj added a comment to D54679: linux_file.c: Fix handling of NFS getdents() emulation.

Looks ok to me aside from the comment.

Wed, Jan 14, 2:15 PM
markj accepted D54399: swab: Correctly treat the data as misaligned.
Wed, Jan 14, 1:46 PM
markj added a comment to D54666: asmc: Fix asmc_dumpall to enumerate all SMC keys.

Tabs are stripped on this patch too.

Wed, Jan 14, 1:44 PM
markj added a comment to D54439: asmc: add Wake-on-LAN control via sysctl.

Updated the diff .

I pasted the diff in the webview.

Wed, Jan 14, 1:43 PM
markj accepted D54680: gdb: Add missing mtree debug entry.
Wed, Jan 14, 1:19 AM
markj committed rGcf34eb826495: build: Remove duplicate SUBDIR entries.
Wed, Jan 14, 12:54 AM
markj committed rG74999aac5eff: in6: Modify address prefix lifetimes when updating address lifetimes.
Wed, Jan 14, 12:54 AM
markj committed rG32ec9d87ce9e: bpf/tests: Run tests in an execenv jail.
Wed, Jan 14, 12:54 AM
markj committed rG045112f148fa: grep/tests: Fix up the zgrep executable path in a newly added test.
Wed, Jan 14, 12:54 AM
markj committed rGfb08f80eaf90: in6: Add a helper function to compute expiry times.
Wed, Jan 14, 12:54 AM
markj closed D54562: in6: Modify address prefix lifetimes when updating address lifetimes.
Wed, Jan 14, 12:54 AM
markj closed D54561: in6: Add a helper function to compute expiry times.
Wed, Jan 14, 12:54 AM
markj requested review of D54678: arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER.
Wed, Jan 14, 12:49 AM
markj requested review of D54676: arm64/iommu: Fix a resource leak in smmu_domain_alloc().
Wed, Jan 14, 12:49 AM
markj abandoned D53805: ipf: Validate string offsets in ipnat structures.
Wed, Jan 14, 12:49 AM
markj requested review of D54673: linuxkpi: Clean up linux_shmem_file_setup() a bit.
Wed, Jan 14, 12:49 AM
markj requested review of D54672: linuxkpi: Avoid a potential null pointer dereference in an error path.
Wed, Jan 14, 12:49 AM
markj requested review of D54671: linuxkpi: Fix an error path in linux_alloc_current().
Wed, Jan 14, 12:49 AM
markj requested review of D54669: exterr: Sort output from make_libc_exterr_cat_filenames.sh.
Wed, Jan 14, 12:49 AM
markj updated subscribers of D54640: cloud: Add GCE VM Product Name to magic string detection list.
Wed, Jan 14, 12:49 AM
markj accepted D54572: Fix charge accounting for objects.
Wed, Jan 14, 12:49 AM

Mon, Jan 12

markj added a comment to D54396: arm64: Correctly align the SVE signal context.

@andrew will you MFC this? We're preparing patches for a secteam release soon and are planning on including this one.

Mon, Jan 12, 2:06 PM
markj accepted D54456: src.opts: Introduce MK_SOUND.
Mon, Jan 12, 2:03 PM
markj accepted D54664: CODEOWNERS: add @fuz for libc/string.

Approved

Mon, Jan 12, 1:39 PM
markj accepted D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.

Thank you!

Mon, Jan 12, 1:13 AM
markj added a comment to D54613: asmc: Convert driver to CTLFLAG_MPSAFE.

We could wrap it with a sleep mutex, but concurrent fan control from multiple threads is not a realistic scenario.

Mon, Jan 12, 1:09 AM
markj committed rG2c029cff5ba3: ads111x: Convert driver to CTLFLAG_MPSAFE (authored by guest-seuros).
Mon, Jan 12, 12:59 AM
markj committed rG0672e0e38a08: isl: Convert driver to CTLFLAG_MPSAFE (authored by guest-seuros).
Mon, Jan 12, 12:59 AM
markj committed rGc2a55efd74cc: jme: Convert driver to CTLFLAG_MPSAFE (authored by guest-seuros).
Mon, Jan 12, 12:59 AM
markj closed D54620: ads111x: Convert driver to CTLFLAG_MPSAFE.
Mon, Jan 12, 12:58 AM
markj closed D54618: jme: Convert driver to CTLFLAG_MPSAFE.
Mon, Jan 12, 12:58 AM