Page MenuHomeFreeBSD

markj (Mark Johnston)
User

Projects (10)

User Details

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

Recent Activity

Yesterday

markj accepted D54436: asmc: improve asmc_dumpall to read actual SMC key count.

This looks ok, thanks. Next time please upload patches with more context; see the comment about using -U99999 in https://wiki.freebsd.org/Phabricator#Create_a_Revision

Wed, Dec 31, 5:00 PM
markj requested review of D54438: linker: Reset DMAP protections in link_elf_unload_file().
Wed, Dec 31, 4:37 PM
markj accepted D54437: asmc: add per-fan manual mode control via sysctl.

Looks ok to me.

Wed, Dec 31, 4:34 PM
markj added inline comments to D54436: asmc: improve asmc_dumpall to read actual SMC key count.
Wed, Dec 31, 4:30 PM

Tue, Dec 30

markj added inline comments to D54394: ipv6: account for jumbo payload option.
Tue, Dec 30, 2:17 PM
markj accepted D54338: vm_object_coalesce(): return swap reservation back if overcharged.
Tue, Dec 30, 1:03 AM

Mon, Dec 29

markj created P683 Command-Line Input.
Mon, Dec 29, 8:56 PM
markj created P682 Command-Line Input.
Mon, Dec 29, 8:56 PM
markj requested review of D54405: git-arc: Try to improve documentation.
Mon, Dec 29, 8:39 PM
markj requested review of D54403: git-arc: Try to make patching more useful.
Mon, Dec 29, 6:59 PM
markj added a comment to D54338: vm_object_coalesce(): return swap reservation back if overcharged.
In D54338#1243198, @kib wrote:
In D54338#1243187, @kib wrote:

Ping? This is a follow-up fix after D54263, and I want to commit them together.

Sorry, I am catching up on reviews today.

Does the patch need to be rebased? I can't apply it to main, the last two hunks in vm_object.c don't apply.

It is on top of D54263

Mon, Dec 29, 6:32 PM
markj abandoned D51655: git-arc: Make "git arc stage" preserve the author date.

There doesn't seem to be consensus on what to do here. I don't have any strong feelings myself; I don't personally see why it's useful to know the original author date (much like I don't care to see the full, original history from someone's local feature branch), and there are lots of other ways to lose that info (rebasing and commit splitting, as Warner alluded to).

Mon, Dec 29, 6:29 PM
markj committed rG859fcbb91908: vmem: Fix the gcc build (authored by markj).
vmem: Fix the gcc build
Mon, Dec 29, 5:08 PM
markj committed rG108e4f31420d: armv8rng: Fix an inverted test in random_rndr_read_one() (authored by markj).
armv8rng: Fix an inverted test in random_rndr_read_one()
Mon, Dec 29, 5:08 PM
markj committed rGeb92fbcadeec: telnet: Remove usage of ALIGN (authored by markj).
telnet: Remove usage of ALIGN
Mon, Dec 29, 5:08 PM
markj committed rG75293aaeea78: inotify: Avoid resetting the cookie (authored by markj).
inotify: Avoid resetting the cookie
Mon, Dec 29, 5:08 PM
markj committed rG7999ce0d290a: rc.subr: Use the variable we defined to invoke setaudit(8) (authored by markj).
rc.subr: Use the variable we defined to invoke setaudit(8)
Mon, Dec 29, 5:08 PM
markj committed rG0eb81bd89dcb: pfsync: Avoid zeroing the state export union (authored by markj).
pfsync: Avoid zeroing the state export union
Mon, Dec 29, 5:07 PM
markj committed rG26ebe093f414: socket: Fix the name of a parameter in a comment (authored by markj).
socket: Fix the name of a parameter in a comment
Mon, Dec 29, 5:07 PM
markj committed rG13b9f78e33c9: netmap: Let memory allocator parameters be settable via loader.conf (authored by markj).
netmap: Let memory allocator parameters be settable via loader.conf
Mon, Dec 29, 5:07 PM
markj added a comment to D54338: vm_object_coalesce(): return swap reservation back if overcharged.
In D54338#1243187, @kib wrote:

Ping? This is a follow-up fix after D54263, and I want to commit them together.

Mon, Dec 29, 4:20 PM
markj committed rG6ea05372bea5: qat: Export missing symbols in qat_common (authored by rupeshpilania_gmail.com).
qat: Export missing symbols in qat_common
Mon, Dec 29, 4:15 PM
markj closed D54107: qat: Export missing symbols in qat_common.
Mon, Dec 29, 4:15 PM
markj accepted D52642: kyua: Add "debug -x|--execute cmd" option.

This works well, thanks. It would probably be useful to document/log the fact that if the test uses a execenv jail, then -x will attach the command to the jail.

Mon, Dec 29, 4:09 PM
markj accepted D54107: qat: Export missing symbols in qat_common.
Mon, Dec 29, 4:07 PM
markj added inline comments to D54394: ipv6: account for jumbo payload option.
Mon, Dec 29, 3:57 PM
markj committed rGdaef625cf884: bhyve: Use a blocking socket in the helper process (authored by markj).
bhyve: Use a blocking socket in the helper process
Mon, Dec 29, 2:50 PM
markj closed D54340: bhyve: Use a blocking socket in the helper process.
Mon, Dec 29, 2:50 PM
markj accepted D54371: ncurses: avoid warnings about too-long initializer strings.
Mon, Dec 29, 2:47 PM
markj added a comment to D54368: librdmacm/libibverbs: Add bnxtre RDMA provider to OFED build infrastructure.

I don't understand. This patch is already applied to the tree, commit 35dd53a9e1326.

Mon, Dec 29, 2:44 PM
markj accepted D54364: crypto: avoid warnings about too-long initializer strings.
Mon, Dec 29, 2:37 PM
markj added a comment to D54368: librdmacm/libibverbs: Add bnxtre RDMA provider to OFED build infrastructure.

I don't understand. This patch is already applied to the tree, commit 35dd53a9e1326.

Mon, Dec 29, 2:36 PM

Mon, Dec 22

markj accepted D54341: Resurrect standalone command.
Mon, Dec 22, 11:53 PM
markj requested review of D54340: bhyve: Use a blocking socket in the helper process.
Mon, Dec 22, 7:16 PM
markj closed D54290: telnet: Remove usage of ALIGN.
Mon, Dec 22, 3:51 PM
markj committed rG3a4275a5f1f5: telnet: Remove usage of ALIGN (authored by markj).
telnet: Remove usage of ALIGN
Mon, Dec 22, 3:51 PM
markj added inline comments to D54290: telnet: Remove usage of ALIGN.
Mon, Dec 22, 3:18 PM
markj committed rGda8ab1324942: inotify: Avoid resetting the cookie (authored by markj).
inotify: Avoid resetting the cookie
Mon, Dec 22, 2:48 PM
markj committed rG15178d8ed290: pf: Fix state handling when ICMP packets are diverted (authored by markj).
pf: Fix state handling when ICMP packets are diverted
Mon, Dec 22, 2:48 PM
markj closed D54321: pf: Fix state handling when ICMP packets are diverted.
Mon, Dec 22, 2:48 PM
markj updated the diff for D54336: inotify: Avoid resetting the cookie.

Add a test

Mon, Dec 22, 3:30 AM
markj accepted D54322: wg: add a more useful debug message for an unknown family.
Mon, Dec 22, 12:50 AM
markj added inline comments to D54332: bhyve(8): Fix consistency and terms in manpage.
Mon, Dec 22, 12:39 AM

Sun, Dec 21

markj requested review of D54336: inotify: Avoid resetting the cookie.
Sun, Dec 21, 11:49 PM

Fri, Dec 19

markj requested review of D54321: pf: Fix state handling when ICMP packets are diverted.
Fri, Dec 19, 9:24 PM
markj added inline comments to D54286: printf.9: Support more than 32 bits in %b.
Fri, Dec 19, 4:49 PM
markj added inline comments to D54286: printf.9: Support more than 32 bits in %b.
Fri, Dec 19, 4:23 PM
markj added a comment to D54306: netinet6: Disallow connections to IN6ADDR_ANY.

This should be run through the test suite, in case tests are relying on this behaviour.

Fri, Dec 19, 2:43 PM
markj accepted D54306: netinet6: Disallow connections to IN6ADDR_ANY.
Fri, Dec 19, 2:42 PM
markj accepted D54286: printf.9: Support more than 32 bits in %b.
Fri, Dec 19, 2:33 PM
markj accepted D54288: vtnet: expose features via sysctl tree.
Fri, Dec 19, 2:14 PM
markj committed rGdf6861d755c8: ifconfig: Fix the -L flag when using netlink (authored by markj).
ifconfig: Fix the -L flag when using netlink
Fri, Dec 19, 2:14 PM
markj committed rG7080c1b09d72: tests: Fix style in ra.py (authored by markj).
tests: Fix style in ra.py
Fri, Dec 19, 2:14 PM
markj committed rGae96ff302f8a: pf: Avoid taking the pf rules write lock in a couple of ioctls (authored by markj).
pf: Avoid taking the pf rules write lock in a couple of ioctls
Fri, Dec 19, 2:14 PM
markj closed D54294: ifconfig: Fix the -L flag when using netlink.
Fri, Dec 19, 2:13 PM
markj closed D54292: pf: Avoid taking the pf rules write lock in a couple of ioctls.
Fri, Dec 19, 2:13 PM
markj added a comment to D54292: pf: Avoid taking the pf rules write lock in a couple of ioctls.
In D54292#1241041, @kp wrote:

DIOCGETRULENV takes the write lock as well but I believe this is only
required when clearing rule counters. (It might not be required even
then, on platforms where counter increment is done atomically.) Acquire
the read lock if that is not the case.

I believe the intent behind the write lock is to enable a userspace pattern of repeated fetch+clear without missing counts. If we'd take the read lock to retrieve the counters we could be incrementing them while this is going on, before we clear them again. That'd mean we'd miss packets/bytes/evaluations.

Fri, Dec 19, 1:53 PM
markj added a comment to D54303: libc/amd64: fix stpncpy.S again.

Approved. If this doesn't land soon, say in the next day or two, we should revert the original change until it does.

Fri, Dec 19, 1:51 PM

Thu, Dec 18

markj accepted D54263: vm_object_coalesce(): do not account holes twice.
Thu, Dec 18, 10:35 PM
markj added inline comments to D54288: vtnet: expose features via sysctl tree.
Thu, Dec 18, 9:05 PM
markj accepted D54263: vm_object_coalesce(): do not account holes twice.
Thu, Dec 18, 9:01 PM
markj committed rG7c02ba0cd034: pf: Fix the reply command in a couple of places (authored by markj).
pf: Fix the reply command in a couple of places
Thu, Dec 18, 7:47 PM
markj committed rG93811883500b: armv8rng: Fix an inverted test in random_rndr_read_one() (authored by markj).
armv8rng: Fix an inverted test in random_rndr_read_one()
Thu, Dec 18, 7:47 PM
markj closed D54259: armv8rng: Fix an inverted test in random_rndr_read_one().
Thu, Dec 18, 7:47 PM
markj closed D54199: pf: Fix the reply command in a couple of places.
Thu, Dec 18, 7:47 PM
markj requested review of D54294: ifconfig: Fix the -L flag when using netlink.
Thu, Dec 18, 7:37 PM
markj requested review of D54292: pf: Avoid taking the pf rules write lock in a couple of ioctls.
Thu, Dec 18, 6:13 PM
markj requested review of D54290: telnet: Remove usage of ALIGN.
Thu, Dec 18, 5:50 PM
markj added inline comments to D54286: printf.9: Support more than 32 bits in %b.
Thu, Dec 18, 5:20 PM
markj added inline comments to D50850: eventfd: Add eventfd_signal().
Thu, Dec 18, 4:38 PM
markj added inline comments to D50849: eventfd: Add refcounting.
Thu, Dec 18, 4:32 PM
markj accepted D54284: kern: racct: Remove code unused since %cpu resource computation revamp.
Thu, Dec 18, 2:40 PM
markj closed D54268: vmem: Fix the gcc build.
Thu, Dec 18, 1:48 PM
markj committed rG377e6050c1cb: vmem: Fix the gcc build (authored by markj).
vmem: Fix the gcc build
Thu, Dec 18, 1:48 PM

Wed, Dec 17

markj added a comment to D54268: vmem: Fix the gcc build.
In D54268#1240216, @alc wrote:

Since we are starting to expand the usage of vmem, I want to point out something that I only noticed around the time we added support for nextfit allocation. What we call bestfit is really an implementation of firstfit allocation. (A comment pointing this out was actually deleted from the Netbsd original when vmem was imported.) And, what we call firstfit is what, I believe, Solaris calls instantfit. We have no actual implementation of bestfit allocation. That said, mav's long ago change to "create own free list for each of the first 32 possible allocation sizes" has the effect of bestfit allocation for small sizes.

Here is the comment that got deleted:

	} else { /* VM_BESTFIT */
		/*
		 * we assume that, for space efficiency, it's better to
		 * allocate from a smaller block.  thus we will start searching
		 * from the lower-order list than VM_INSTANTFIT.
		 * however, don't bother to find the smallest block in a free
		 * list because the list can be very long.  we can revisit it
		 * if/when it turns out to be a problem.
Wed, Dec 17, 8:54 PM
markj requested review of D54268: vmem: Fix the gcc build.
Wed, Dec 17, 2:28 PM
markj abandoned D54258: tmpfs: Fix comparison in tmpfs_extattr_update_mem().

Sorry for the noise.

Wed, Dec 17, 1:32 PM

Tue, Dec 16

markj committed rG26702912e857: rtsold: Validate entries in domain search lists (authored by markj).
rtsold: Validate entries in domain search lists
Tue, Dec 16, 11:45 PM
markj committed rG4fef5819cca9: rtsold: Validate entries in domain search lists (authored by markj).
rtsold: Validate entries in domain search lists
Tue, Dec 16, 11:44 PM
markj committed rGc0cb68169beb: ipfw: pmod: avoid further rule processing after tcp-mod failures (authored by kevans).
ipfw: pmod: avoid further rule processing after tcp-mod failures
Tue, Dec 16, 11:44 PM
markj committed rG60026b06366f: ipfw: pmod: avoid further rule processing after tcp-mod failures (authored by kevans).
ipfw: pmod: avoid further rule processing after tcp-mod failures
Tue, Dec 16, 11:44 PM
markj committed rG8b2a912a8abd: Add UPDATING entries and bump version. (authored by markj).
Add UPDATING entries and bump version.
Tue, Dec 16, 11:44 PM
markj committed rG3c54b204bf86: rtsold: Validate entries in domain search lists (authored by markj).
rtsold: Validate entries in domain search lists
Tue, Dec 16, 11:44 PM
markj committed rG35cee6a90119: rtsold: Validate entries in domain search lists (authored by markj).
rtsold: Validate entries in domain search lists
Tue, Dec 16, 11:44 PM
markj committed rGeb5a6f5f9f74: Add UPDATING entries and bump version (authored by markj).
Add UPDATING entries and bump version
Tue, Dec 16, 11:44 PM
markj committed rG04e9f1aab83a: amd64/vmm.c: Fix an incorrect memory segment check in vm_iommu_{un}map (authored by bnovkov).
amd64/vmm.c: Fix an incorrect memory segment check in vm_iommu_{un}map
Tue, Dec 16, 11:43 PM
markj committed rG63a5b645b23e: Add UPDATING entries and bump version. (authored by markj).
Add UPDATING entries and bump version.
Tue, Dec 16, 11:43 PM
markj committed rGff6b9c7c1c34: zfs: Merge commit 86b064469dc9c2 from OpenZFS (authored by markj).
zfs: Merge commit 86b064469dc9c2 from OpenZFS
Tue, Dec 16, 11:43 PM
markj committed rG408f5c61821f: rtsold: Validate entries in domain search lists (authored by markj).
rtsold: Validate entries in domain search lists
Tue, Dec 16, 11:43 PM
markj committed rG6759fbb1a553: rtsold: Validate entries in domain search lists (authored by markj).
rtsold: Validate entries in domain search lists
Tue, Dec 16, 11:40 PM
markj committed rGbf804f69dd94: rtsold: Validate entries in domain search lists (authored by markj).
rtsold: Validate entries in domain search lists
Tue, Dec 16, 11:39 PM
markj added a comment to D54258: tmpfs: Fix comparison in tmpfs_extattr_update_mem().
In D54258#1239826, @kib wrote:

This is only relevant for 32bit arches, am I right? (I do not claim that it is not a bug to fix).

Tue, Dec 16, 8:21 PM
markj added a comment to D54259: armv8rng: Fix an inverted test in random_rndr_read_one().

So the current code tries 10 times to hit a failure, and will use the last value if all 10 reads succeeded, given the condition after the loop is correct? Importantly, there's no security issue here, because we didn't actually report a successful read when it failed?

Tue, Dec 16, 8:06 PM
markj updated the test plan for D54259: armv8rng: Fix an inverted test in random_rndr_read_one().
Tue, Dec 16, 7:56 PM
markj requested review of D54259: armv8rng: Fix an inverted test in random_rndr_read_one().
Tue, Dec 16, 7:56 PM
markj accepted D54219: vm_object_coalesce(): check that coalescing does not revive stale pages.
Tue, Dec 16, 7:29 PM
markj requested review of D54258: tmpfs: Fix comparison in tmpfs_extattr_update_mem().
Tue, Dec 16, 5:23 PM

Mon, Dec 15

markj added inline comments to D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.
Mon, Dec 15, 9:41 PM
markj accepted D54177: lio: Avoid out-of-bounds read or write MAC address.
Mon, Dec 15, 9:26 PM
markj accepted D54242: ipfilter: Add missing kenv fetch.

This fixes the problem for me, thank you.

Mon, Dec 15, 9:21 PM