Page MenuHomeFreeBSD
Feed Advanced Search

Feb 25 2021

jah requested review of D28923: amd64 pmap: convert to counter(9), add PV and pagetable page counts.
Feb 25 2021, 5:37 PM

Feb 24 2021

jah committed rG941747f63cfa: Fix divide-by-zero panic when ASLR is enabled and superpages disabled (authored by jah).
Fix divide-by-zero panic when ASLR is enabled and superpages disabled
Feb 24 2021, 12:02 AM
jah committed rGfc6c898ec5f4: Fix divide-by-zero panic when ASLR is enabled and superpages disabled (authored by jah).
Fix divide-by-zero panic when ASLR is enabled and superpages disabled
Feb 24 2021, 12:00 AM

Feb 15 2021

jah committed rG41032835dc2d: Fix divide-by-zero panic when ASLR is enabled and superpages disabled (authored by jah).
Fix divide-by-zero panic when ASLR is enabled and superpages disabled
Feb 15 2021, 6:37 PM
jah closed D28678: Fix divide-by-zero panic when ALSR is enabled and superpages disabled.
Feb 15 2021, 6:37 PM
jah requested review of D28678: Fix divide-by-zero panic when ALSR is enabled and superpages disabled.
Feb 15 2021, 3:09 AM

Feb 11 2021

jah added a comment to D28592: Add basic stats for vm_fault() busy-page waits.
In D28592#640118, @mjg wrote:

I have no comments about usefulness of adding these counters. I have to note the patch negatively affects scalability as it adds loads from the page form something which gets modified by other threads. If adding these stats, it would have to happen inside of vm_page_busy_sleep.

Feb 11 2021, 7:00 PM
jah requested review of D28592: Add basic stats for vm_fault() busy-page waits.
Feb 11 2021, 6:03 PM

Jan 26 2021

jah committed rG70cdab054c8f: rctl(4): support throttling resource usage to 0 (authored by jah).
rctl(4): support throttling resource usage to 0
Jan 26 2021, 3:56 AM

Jan 15 2021

jah accepted D28147: Add malloc_domainset_aligned(9) and use it in x86 busdma bounce..
Jan 15 2021, 6:31 AM

Jan 14 2021

jah added inline comments to D28108: x86 busdma_bounce: do not make assumptions about alignment of malloc(9) results..
Jan 14 2021, 3:27 AM
jah added inline comments to D28108: x86 busdma_bounce: do not make assumptions about alignment of malloc(9) results..
Jan 14 2021, 1:26 AM
jah accepted D28108: x86 busdma_bounce: do not make assumptions about alignment of malloc(9) results..
Jan 14 2021, 1:22 AM
jah added inline comments to D28108: x86 busdma_bounce: do not make assumptions about alignment of malloc(9) results..
Jan 14 2021, 12:59 AM
jah added inline comments to D28108: x86 busdma_bounce: do not make assumptions about alignment of malloc(9) results..
Jan 14 2021, 12:17 AM

Jan 13 2021

jah added inline comments to D28108: x86 busdma_bounce: do not make assumptions about alignment of malloc(9) results..
Jan 13 2021, 8:03 PM

Jan 12 2021

jah accepted D28108: x86 busdma_bounce: do not make assumptions about alignment of malloc(9) results..
Jan 12 2021, 12:02 AM

Jan 11 2021

jah closed D27858: rctl(4): support throttling resource usage to 0.
Jan 11 2021, 11:38 PM
jah committed rGe8a5a1ad7154: rctl(4): support throttling resource usage to 0 (authored by jah).
rctl(4): support throttling resource usage to 0
Jan 11 2021, 11:38 PM

Jan 9 2021

jah added reviewers for D27858: rctl(4): support throttling resource usage to 0: kib, mjg.
Jan 9 2021, 10:52 PM

Dec 30 2020

jah added a reviewer for D27858: rctl(4): support throttling resource usage to 0: trasz.
Dec 30 2020, 11:51 PM
jah requested review of D27858: rctl(4): support throttling resource usage to 0.
Dec 30 2020, 11:49 PM

Oct 6 2020

jah committed rP551561: multimedia/libtuner: update to 1.1.5.
multimedia/libtuner: update to 1.1.5
Oct 6 2020, 7:12 AM

Sep 12 2020

jah committed rS365652: amd64: prevent KCSan false positives on LAPIC mapping.
amd64: prevent KCSan false positives on LAPIC mapping
Sep 12 2020, 7:04 AM
jah closed D26354: amd64: prevent KCSan false positives on LAPIC mapping.
Sep 12 2020, 7:04 AM

Sep 8 2020

jah added reviewers for D26354: amd64: prevent KCSan false positives on LAPIC mapping: kib, gbe, andrew.
Sep 8 2020, 1:00 AM
jah updated the diff for D26354: amd64: prevent KCSan false positives on LAPIC mapping.

Whitespace

Sep 8 2020, 12:57 AM
jah requested review of D26354: amd64: prevent KCSan false positives on LAPIC mapping.
Sep 8 2020, 12:56 AM

Sep 1 2020

jah added a comment to D26282: Modernize spkr(4).

Seemed like a cute driver and a fun thing to do with some spare time while I was traveling.
I've verified that spkrtest(8) cycles through the notes without error, but since I'm away from the one machine I have with an actual speaker, I haven't been able to test by ear.

Sep 1 2020, 5:08 PM
jah added a reviewer for D26282: Modernize spkr(4): imp.
Sep 1 2020, 5:06 PM
jah requested review of D26282: Modernize spkr(4).
Sep 1 2020, 5:06 PM

Aug 14 2020

jah committed rS364239: kenv: avoid sleepable alloc for integer tunables.
kenv: avoid sleepable alloc for integer tunables
Aug 14 2020, 9:37 PM
jah closed D26010: kenv: avoid sleepable alloc for integer tunables.
Aug 14 2020, 9:37 PM

Aug 9 2020

jah retitled D26010: kenv: avoid sleepable alloc for integer tunables from kenv: avoid sleepable malloc for integer tunables to kenv: avoid sleepable alloc for integer tunables.
Aug 9 2020, 8:30 AM
jah retitled D26010: kenv: avoid sleepable alloc for integer tunables from kern_environment: avoid sleepable malloc for integer tunables, switch to rmlock to kenv: avoid sleepable malloc for integer tunables, switch to rmlock.
Aug 9 2020, 8:27 AM
jah retitled D26010: kenv: avoid sleepable alloc for integer tunables from kenv: avoid sleepable malloc for integer tunables, switch to rmlock to kenv: avoid sleepable malloc for integer tunables.
Aug 9 2020, 8:27 AM
jah updated the diff for D26010: kenv: avoid sleepable alloc for integer tunables.

Factor locking/unlocking into kenv_acquire() and kenv_release(), and use them for some light cleanup

Aug 9 2020, 8:23 AM
jah updated the summary of D26010: kenv: avoid sleepable alloc for integer tunables.
Aug 9 2020, 4:37 AM
jah updated the diff for D26010: kenv: avoid sleepable alloc for integer tunables.

Return kenv_lock to a mutex

Aug 9 2020, 4:37 AM
jah added a comment to D26010: kenv: avoid sleepable alloc for integer tunables.
In D26010#576845, @mjg wrote:

The statement was that rmlocks distribute the lock per-CPU which means increased memory use. There are cases where this is perfectly warranted of course, I just doubt this one qualifies.

kenv should almost never be used past boot and even then I highly doubt the lock is contended enough to warrant any non-trivial changes. There may be offenders which keep re-reading the same value when they could do it once, but I don't think they are worth tracking down either. I do suspect there are nice wins to get like avoiding memory alloc (which also happen to fix bugs), but past that I would suggest not messing with the area.

In my opinion justifying this particular conversion would require a real world workload running into the problem which happens to not abuse the interface (like aforementioned re-reads of the same stuff), but I doubt there is something legitimate like this out there. However, I'm not going to stand in the way.

Aug 9 2020, 2:15 AM
jah added a comment to D26010: kenv: avoid sleepable alloc for integer tunables.
In D26010#576843, @mjg wrote:

Is kenv frequently used to begin with? rm lock would add memory use per-cpu, so arguably it would be a pessimization. I also suspect we may be able to get away without any locks to begin with with some trickery.

Either way, I think the change to strtok in place is a good idea and an equivalent should be done for other routines if applicable.

That said, can you please open a separate review for the locking change and only keep the actual bugfix here?

Aug 9 2020, 1:34 AM
jah added reviewers for D26010: kenv: avoid sleepable alloc for integer tunables: sjg, kevans, mjg.
Aug 9 2020, 1:08 AM
jah requested review of D26010: kenv: avoid sleepable alloc for integer tunables.
Aug 9 2020, 1:03 AM

Aug 2 2020

jah closed D25564: vt(4): CONS_HISTORY/CONS_CLRHIST should operate on issuing terminal.
Aug 2 2020, 8:18 PM
jah committed rS363784: vt(4): CONS_HISTORY/CONS_CLRHIST should operate on issuing terminal.
vt(4): CONS_HISTORY/CONS_CLRHIST should operate on issuing terminal
Aug 2 2020, 8:18 PM

Jul 19 2020

jah added a comment to D25564: vt(4): CONS_HISTORY/CONS_CLRHIST should operate on issuing terminal.

ping

Jul 19 2020, 8:41 AM

Jul 4 2020

jah requested review of D25564: vt(4): CONS_HISTORY/CONS_CLRHIST should operate on issuing terminal.
Jul 4 2020, 10:22 PM

Jun 3 2020

jah added inline comments to D25107: Remove unnecessary WITNESS check in x86 bounce_bus_dmamem_alloc().
Jun 3 2020, 2:31 AM
jah committed rS361741: Remove unnecessary WITNESS check in x86 bus_dma.
Remove unnecessary WITNESS check in x86 bus_dma
Jun 3 2020, 12:16 AM
jah closed D25107: Remove unnecessary WITNESS check in x86 bounce_bus_dmamem_alloc().
Jun 3 2020, 12:16 AM
jah updated the diff for D25107: Remove unnecessary WITNESS check in x86 bounce_bus_dmamem_alloc().

Fix another typo

Jun 3 2020, 12:05 AM

Jun 2 2020

jah added inline comments to D25107: Remove unnecessary WITNESS check in x86 bounce_bus_dmamem_alloc().
Jun 2 2020, 11:58 PM
jah requested review of D25107: Remove unnecessary WITNESS check in x86 bounce_bus_dmamem_alloc().
Jun 2 2020, 10:18 PM
jah updated the diff for D25107: Remove unnecessary WITNESS check in x86 bounce_bus_dmamem_alloc().

Remove another unnecessary WITNESS check in the shared x86 bus_dma_tag_create()
implementation. Both DMAR and bounce implementations use
common_bus_dma_tag_create(), which allocates the tag with M_NOWAIT.

Jun 2 2020, 9:42 PM
jah added reviewers for D25107: Remove unnecessary WITNESS check in x86 bounce_bus_dmamem_alloc(): cem, kib.
Jun 2 2020, 8:19 PM
jah added inline comments to D10729: Cleanup MD pollution of MI busdma header.
Jun 2 2020, 7:17 PM
jah committed rS361719: vt(4): reset scrollback and cursor position after clearing history buffer.
vt(4): reset scrollback and cursor position after clearing history buffer
Jun 2 2020, 1:22 AM
jah closed D25079: vt(4): reset scrollback and cursor position after clearing history buffer.
Jun 2 2020, 1:22 AM

May 31 2020

jah updated the diff for D25079: vt(4): reset scrollback and cursor position after clearing history buffer.

Light cleanup of cursor position handling

May 31 2020, 2:05 AM
jah updated the diff for D25079: vt(4): reset scrollback and cursor position after clearing history buffer.

Ensure the visible rect is invalidated on CONS_CLRHIST

May 31 2020, 12:28 AM

May 30 2020

jah added inline comments to D25079: vt(4): reset scrollback and cursor position after clearing history buffer.
May 30 2020, 11:56 PM
jah added a reviewer for D25079: vt(4): reset scrollback and cursor position after clearing history buffer: emaste.
May 30 2020, 9:30 PM
jah requested review of D25079: vt(4): reset scrollback and cursor position after clearing history buffer.
May 30 2020, 9:29 PM

May 28 2020

jah closed D24815: vt(4): Add support for `vidcontrol -C'.
May 28 2020, 9:22 PM
jah committed rS361601: vt(4): Add support for `vidcontrol -C'.
vt(4): Add support for `vidcontrol -C'
May 28 2020, 9:22 PM
jah added a comment to D24815: vt(4): Add support for `vidcontrol -C'.

LGTM

I noticed one nit - after clearing history you can press Scroll Lock and scroll up through the cleared history buffer, while we probably want to reset that as well. However, I'd suggest that you commit this now and we can address that in a followup. I also did not check how sc(4) behaves with respect to this.

May 28 2020, 9:01 PM

May 23 2020

jah added a comment to D24815: vt(4): Add support for `vidcontrol -C'.

I will try this out shortly

May 23 2020, 7:54 PM

May 12 2020

jah updated the summary of D24815: vt(4): Add support for `vidcontrol -C'.
May 12 2020, 5:25 AM
jah added a reviewer for D24815: vt(4): Add support for `vidcontrol -C': emaste.
May 12 2020, 5:22 AM
jah requested review of D24815: vt(4): Add support for `vidcontrol -C'.
May 12 2020, 5:21 AM

Apr 27 2020

jah committed rS360368: MFC r359815: config(8): use sbuf to manage line buffers.
MFC r359815: config(8): use sbuf to manage line buffers
Apr 27 2020, 5:35 AM

Apr 12 2020

jah closed D24373: config(8): use sbuf to manage line buffers.
Apr 12 2020, 2:42 AM
jah committed rS359815: config(8): use sbuf to manage line buffers.
config(8): use sbuf to manage line buffers
Apr 12 2020, 2:42 AM

Apr 11 2020

jah added a comment to D24373: config(8): use sbuf to manage line buffers.
In D24373#536140, @imp wrote:

This looks fine, but given the age of config. It feels a bit like effort might be better spent on a rewrite

Apr 11 2020, 9:20 PM
jah retitled D24373: config(8): use sbuf to manage line buffers from config(8): use sbuf to manage line buffersPR: 245476 to config(8): use sbuf to manage line buffers.
Apr 11 2020, 8:40 PM
jah retitled D24373: config(8): use sbuf to manage line buffers from config(8): use sbuf to manage line buffers PR: 245476 to config(8): use sbuf to manage line buffersPR: 245476.
Apr 11 2020, 8:39 PM
jah created D24373: config(8): use sbuf to manage line buffers.
Apr 11 2020, 8:39 PM
jah committed rS359794: MFC r359501: deadlkres: include thread name in panic messages.
MFC r359501: deadlkres: include thread name in panic messages
Apr 11 2020, 5:13 AM

Apr 9 2020

jah accepted D24332: Handle disconnected sockets in uipc_ready()..
Apr 9 2020, 7:08 AM

Apr 8 2020

jah added inline comments to D24332: Handle disconnected sockets in uipc_ready()..
Apr 8 2020, 3:39 AM

Apr 4 2020

jah committed rS359628: mac_policy: Remove mac_policy_sx.
mac_policy: Remove mac_policy_sx
Apr 4 2020, 4:03 AM
jah closed D24283: mac_framework: Remove apparently-superfluous sxlock.
Apr 4 2020, 4:03 AM

Apr 3 2020

jah created D24283: mac_framework: Remove apparently-superfluous sxlock.
Apr 3 2020, 11:09 PM

Apr 1 2020

jah closed D24235: deadlkres: include thread name in panic messages.
Apr 1 2020, 4:51 AM
jah committed rS359501: deadlkres: include thread name in panic messages.
deadlkres: include thread name in panic messages
Apr 1 2020, 4:51 AM

Mar 31 2020

jah added reviewers for D24235: deadlkres: include thread name in panic messages: markj, jeff.
Mar 31 2020, 4:06 AM
jah created D24235: deadlkres: include thread name in panic messages.
Mar 31 2020, 4:06 AM

Jan 25 2020

jah committed rS357110: Implement cycle-detecting garbage collector for AF_UNIX sockets.
Implement cycle-detecting garbage collector for AF_UNIX sockets
Jan 25 2020, 8:57 AM
jah closed D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.
Jan 25 2020, 8:57 AM

Jan 16 2020

jah updated the diff for D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.

More review feedback

Jan 16 2020, 7:27 AM

Jan 15 2020

jah added inline comments to D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.
Jan 15 2020, 6:17 PM

Jan 14 2020

jah updated the diff for D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.

Code review feedback from markj

Jan 14 2020, 6:11 PM

Jan 13 2020

jah added inline comments to D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.
Jan 13 2020, 6:36 PM
jah added inline comments to D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.
Jan 13 2020, 5:13 PM
jah updated subscribers of D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.

This mostly looks right to me. Would you be willing to add some basic regression tests for the garbage collector to tests/sys/kern/unix_passfd_test.c?

Jan 13 2020, 4:51 PM
jah updated the diff for D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.

Replace assignment of unp_gcflag with KASSERT

Jan 13 2020, 6:15 AM

Jan 12 2020

jah added inline comments to D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.
Jan 12 2020, 7:49 PM
jah added a reviewer for D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets: jan.kokemueller_gmail.com.
Jan 12 2020, 5:06 AM
jah added reviewers for D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets: kib, markj, glebius.
Jan 12 2020, 5:03 AM
jah created D23142: Implement cycle-detecting garbage collector for AF_UNIX sockets.
Jan 12 2020, 4:58 AM