- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Feb 24 2021
Feb 15 2021
Feb 11 2021
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.
Jan 26 2021
Jan 15 2021
Jan 14 2021
Jan 13 2021
Jan 12 2021
Jan 11 2021
Jan 9 2021
Dec 30 2020
Oct 6 2020
Sep 12 2020
Sep 8 2020
Whitespace
Sep 1 2020
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.
Aug 14 2020
Aug 9 2020
Factor locking/unlocking into kenv_acquire() and kenv_release(), and use them for some light cleanup
Return kenv_lock to a mutex
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.
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 2 2020
Jul 19 2020
ping
Jul 4 2020
Jun 3 2020
Fix another typo
Jun 2 2020
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.
May 31 2020
Light cleanup of cursor position handling
Ensure the visible rect is invalidated on CONS_CLRHIST
May 30 2020
May 28 2020
In D24815#551397, @emaste wrote: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 23 2020
In D24815#546965, @emaste wrote:I will try this out shortly
May 12 2020
Apr 27 2020
Apr 12 2020
Apr 11 2020
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 9 2020
Apr 8 2020
Apr 4 2020
Apr 3 2020
Apr 1 2020
Mar 31 2020
Jan 25 2020
Jan 16 2020
More review feedback
Jan 15 2020
Jan 14 2020
Code review feedback from markj
Jan 13 2020
In D23142#507493, @markj wrote: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?
Replace assignment of unp_gcflag with KASSERT