Committed as 954712e8f6.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 7 2023
Mar 6 2023
@erj was the original change to this intended? Before the change it was:
Mar 1 2023
Replaced by D38735.
Feb 28 2023
Adding @jmg, since he made the change to ure(4) to change the drv queue length to 512.
Feb 27 2023
Thanks!
Feb 24 2023
Feb 23 2023
Code was rewritten.
Feb 21 2023
In D38714#881069, @dchagin wrote:
In D38609#880936, @dchagin wrote:With two last patches the kernel paniced: Feb 21 19:27:01 mordor savecore[1488]: reboot after panic: Assertion in_epoch(net_epoch_preempt) failed at /home/dchagin/freebsd/sys/net/if.c:4520
As we found some problem in Linuxulator netlink which is merged to stable/13 branch and requires simple change to the code modified by a 52d98483 commit, I propose to revert 52d98483 until it addressed, and on a weekend I’ll help to fix it.
Rebase, now based on fix in D38703, too.
In D38609#880820, @dchagin wrote:latest diff is not cleanly applies:
Feb 18 2023
Change summary to 'linux' instead of 'IfAPI'
Feb 16 2023
In D38609#878650, @glebius wrote:Wait a second... Are we sure that IFNET_RLOCK() isn't enough for that access? Maybe we need to adjust the assertion that we recently added? That it asserts epoch OR the lock. @melifaro What do you think?
Feb 15 2023
Not coccinelle, but there's a script that'll get "most of the way" at tools/ifnet/convert_ifapi.sh . Coccinelle would probably be better, less error-prone, but I don't know enough, and the script has been in the tree since 2014 (as convert_drvapi.sh)
In D38609#878624, @glebius wrote:The revision header needs to be changed s/IfAPI:/linux:/
Feb 14 2023
Address @zlei's feedback.
Address @zlei's feedback.
One more whitespace bug.
Address more feedback from @kib.
In D38499#877645, @glebius wrote:Didn't mean to override your comments! I'm pretty sure @jhibbits will address them before checking in.
Address @kib's feedback. I think I got them all.
Feb 13 2023
Address feedback from @kib.
Feb 11 2023
In D38499#876078, @kib wrote:A lot of functions return int and that boils down to return (0);. Do you intend to make the fail in some way in the future? If yes, could you please describe what are the expected failure modes?
Feb 10 2023
Address feedback. Clean up the pointless casts.
Address feedback. No more DRVAPI comments in the code.
Feb 8 2023
I don't know how any of the issues you pointed out compiled in the first place. No errors on them. Will post an updated diff shortly.
I like the idea of doing less work in interrupt handlers. Especially when it could potentially share a cache line.