Page MenuHomeFreeBSD

johalun0_gmail.com (Johannes Lundberg)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 13 2016, 9:42 PM (109 w, 6 d)

Recent Activity

Yesterday

johalun0_gmail.com added a comment to D17267: We don't need shell protection for when we're expanding matches. Don't add it. This should fix when we do regepx matches against variables we've set and fix wifi bring up..

Does this require any changes to devd.conf to work? Only applying this patch and copy over devd binary to my test machine doesn't change anything for me, the regexp still starts with ^$'(.....

Weird, works for me, and regex in Testing device-name line looks correct now without any changes to devd.conf. Make sure you are running correct binary?

Fri, Sep 21, 8:48 AM
johalun0_gmail.com added a comment to D17267: We don't need shell protection for when we're expanding matches. Don't add it. This should fix when we do regepx matches against variables we've set and fix wifi bring up..

Does this require any changes to devd.conf to work? Only applying this patch and copy over devd binary to my test machine doesn't change anything for me, the regexp still starts with ^$'(.....

Fri, Sep 21, 7:26 AM

Mon, Sep 10

johalun0_gmail.com accepted D17109: Style fixes for in6_pcblookup_lbgroup()..
Mon, Sep 10, 7:19 PM

Thu, Sep 6

johalun0_gmail.com accepted D17065: Use ratecheck(9) in in_pcbinslbgrouphash()..
Thu, Sep 6, 6:30 PM
johalun0_gmail.com accepted D17031: Fix synchronization of lbgroup access..

Yeah, CK work was committed soon after so_reuseport_lb was merged so this was missed. Thanks for fixing!

Thu, Sep 6, 3:27 PM

Wed, Sep 5

johalun0_gmail.com accepted D17030: Fix style bugs in in_pcblookup_lbgroup()..

Thanks for cleaning this up.

Wed, Sep 5, 7:40 AM

Mon, Aug 27

johalun0_gmail.com added inline comments to D16719: Add pci_early function for Intel stolen memory (and possibly more).
Mon, Aug 27, 2:45 PM
johalun0_gmail.com added inline comments to D16719: Add pci_early function for Intel stolen memory (and possibly more).
Mon, Aug 27, 7:56 AM

Sun, Aug 26

johalun0_gmail.com accepted D16894: Put building of drm and drm2 modules behind options and Add big, nasty abandonware tags to this code..

LGTM and I assume there's another patch coming that will fix the loader issues?

Sun, Aug 26, 3:09 PM
johalun0_gmail.com accepted D16899: SO_REUSEPORT_LB critical bug fix: avoid IPv4 listen group in IPv6.

Thanks for finding and fixing this!

Sun, Aug 26, 12:37 PM

Fri, Aug 24

johalun0_gmail.com added a comment to D16876: Expand min/max_offset macros in vm_map.h to reduce pollution.

Thank you <3 This will make life easier for us drm developers.

Fri, Aug 24, 7:19 AM

Aug 15 2018

johalun0_gmail.com added a comment to D16719: Add pci_early function for Intel stolen memory (and possibly more).
In D16719#355599, @imp wrote:

This strikes me as two different changes. One for the phys_avail_reserve() and another to use it for the pci early stuff. I'm a little uneasy with the pci early name, but the code is clearly PCI specific.
Would there ever be a need to do things like this when running the 32-bit kernel? I know we don't support graphics cards there, but when we're bringing in new interfaces, it's a question that suggests itself.
RPi has this sort of thing too, but it's dealt with in the bowels of the FDT code...

Aug 15 2018, 4:18 PM
johalun0_gmail.com created D16719: Add pci_early function for Intel stolen memory (and possibly more).
Aug 15 2018, 12:45 PM

Aug 10 2018

johalun0_gmail.com updated the summary of D16660: devmatch ugly hack.
Aug 10 2018, 5:52 PM
johalun0_gmail.com updated the summary of D16660: devmatch ugly hack.
Aug 10 2018, 5:24 PM
johalun0_gmail.com created D16660: devmatch ugly hack.
Aug 10 2018, 5:24 PM

Jul 19 2018

johalun0_gmail.com added a comment to D16300: Improve netmap TX handling when TX IRQs are not used/supported.

Results with I219LM (em0) TX and Macbook thunderbolt dongle (bge0) RX

Jul 19 2018, 8:06 PM
johalun0_gmail.com added a comment to D16300: Improve netmap TX handling when TX IRQs are not used/supported.

I tried the first version again and it seems OK on the TX side. Not sure about RX, seeing some poll error but that might be my messed up I218LM which can't do more than 70 Kpps TX (it does 14 Mpps with FreeBSD 11) but that's another problem.
Between I219LM and a Realtek NIC I get stable 150 Kpps and I guess that's the limit for emulated netmap.

Jul 19 2018, 5:31 PM
johalun0_gmail.com added a comment to D16300: Improve netmap TX handling when TX IRQs are not used/supported.

OK, switching TX/RX between I128LM and I219LM makes no difference, still 5 Kpps. iperf between the two machine measure +900 Mbps.

Are the counters in dev.em.X.mac_stats.xoff_txd and dev.em.X.mac_stats.xon_txd incrementing? If so, you can try turning off flow control... sysctl dev.em.X.fc=0

Jul 19 2018, 8:12 AM

Jul 18 2018

johalun0_gmail.com added a comment to D16300: Improve netmap TX handling when TX IRQs are not used/supported.

OK, switching TX/RX between I128LM and I219LM makes no difference, still 5 Kpps. iperf between the two machine measure +900 Mbps.

Jul 18 2018, 9:27 PM
johalun0_gmail.com added a comment to D16300: Improve netmap TX handling when TX IRQs are not used/supported.

Use the same callout reset logic in the admin task as the txq timer.

@johalun0_gmail.com I wonder if the admin task was overriding the txqs
with a longer timeout in your case.

Jul 18 2018, 8:58 PM
johalun0_gmail.com added a comment to D16300: Improve netmap TX handling when TX IRQs are not used/supported.

Test between two 1000baseT FD, connected with 1GB switch. I128LM is sending, I129LM is receiving.
Kernel from 2018-07-18 (how to find svn revision when building from github?)
Patched kernel only on sending side. Receiving side is same revision but unpatched.

Jul 18 2018, 9:48 AM

Jun 11 2018

johalun0_gmail.com abandoned D15452: Update LinuxKPI to 4.15 .

Committed.

Jun 11 2018, 7:23 PM

Jun 7 2018

johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Rebase diff

Jun 7 2018, 2:47 PM
johalun0_gmail.com added inline comments to D15452: Update LinuxKPI to 4.15 .
Jun 7 2018, 1:50 PM

Jun 6 2018

johalun0_gmail.com added inline comments to D15452: Update LinuxKPI to 4.15 .
Jun 6 2018, 5:49 PM
johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Add license and clean up some reorder diffs

Jun 6 2018, 5:49 PM
johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Rebase to r334720

Jun 6 2018, 5:15 PM
johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Rebase against today's head

Jun 6 2018, 1:06 PM

Jun 1 2018

johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Some stuff has been committed so rebase against head.

Jun 1 2018, 3:55 PM
johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Don't increment index in radix_tree_iter_delete

Jun 1 2018, 11:56 AM

May 31 2018

johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Update since some parts have been committed to head.
Also,

  • Remove fcheck() macro, patch driver source code instead to use fget() and fput().
  • Derive PAGE_MASK from PAGE_SIZE since PAGE_MASK is different on FreeBSD and Linux
May 31 2018, 2:56 PM

May 30 2018

johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Remove whitespace change.

May 30 2018, 10:31 AM
johalun0_gmail.com added inline comments to D11003: Load balance sockets with new SO_REUSEPORT_LB option.
May 30 2018, 10:31 AM
johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Updated diff against today's kernel.

May 30 2018, 9:58 AM

May 29 2018

johalun0_gmail.com added inline comments to D15452: Update LinuxKPI to 4.15 .
May 29 2018, 1:16 PM

May 28 2018

johalun0_gmail.com added inline comments to D15452: Update LinuxKPI to 4.15 .
May 28 2018, 3:05 PM
johalun0_gmail.com added inline comments to D15452: Update LinuxKPI to 4.15 .
May 28 2018, 12:48 PM
johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Revert change to MPASS test in scheduler code.

May 28 2018, 12:29 PM
johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .
May 28 2018, 12:21 PM

May 27 2018

johalun0_gmail.com updated the summary of D15452: Update LinuxKPI to 4.15 .
May 27 2018, 8:39 AM
johalun0_gmail.com updated the diff for D15452: Update LinuxKPI to 4.15 .

Added TASK_KILLABLE to TASK_NORMAL so that the assert don't cause panic in linux_add_to_sleepqueue().

May 27 2018, 8:38 AM
johalun0_gmail.com updated the summary of D15452: Update LinuxKPI to 4.15 .
May 27 2018, 8:35 AM

May 25 2018

johalun0_gmail.com added a comment to D15567: amdtemp and amdsmn update for new devices.
In D15567#328787, @cem wrote:

I don't have any doc for the new Zen APUs, sorry. My TR doesn't have any 15eb devices.

May 25 2018, 3:42 PM
johalun0_gmail.com updated the summary of D15567: amdtemp and amdsmn update for new devices.
May 25 2018, 9:21 AM
johalun0_gmail.com created D15567: amdtemp and amdsmn update for new devices.
May 25 2018, 9:21 AM

May 22 2018

johalun0_gmail.com added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Have you addressed all of @rwatson's comments?

May 22 2018, 7:28 AM

May 16 2018

johalun0_gmail.com added a comment to D15455: Work around lack of TX queues in iflib for netmap.

And netmap is alive again on I218-LM :)

May 16 2018, 6:28 PM
johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.
  • Omit the inheritance part for now so that we can get this committed. Need more time and eyes to figure out a safe way to solve the locking issues. (this is anyway not a critical function but more a nice-to-have thing)
  • Add leading zeros to the rest of the SO_* options to indicate that they are now 32 bit.
May 16 2018, 5:07 PM
johalun0_gmail.com created D15452: Update LinuxKPI to 4.15 .
May 16 2018, 3:16 PM

May 11 2018

johalun0_gmail.com accepted D15385: uhid driver for Super Nintendo gamepads.

Looks good. Approved!

May 11 2018, 8:24 AM
johalun0_gmail.com added a comment to D15385: uhid driver for Super Nintendo gamepads.

Did you check if this driver is already supported by webcamd?

May 11 2018, 7:20 AM

May 10 2018

johalun0_gmail.com updated the summary of D15385: uhid driver for Super Nintendo gamepads.
May 10 2018, 9:33 PM
johalun0_gmail.com created D15385: uhid driver for Super Nintendo gamepads.
May 10 2018, 9:30 PM

Apr 30 2018

johalun0_gmail.com added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.

@rwatson If you have time, I would appreciate if you could take a look at the updates.

Apr 30 2018, 9:15 AM

Apr 27 2018

johalun0_gmail.com added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Added comment - unsure about locking in one place...

Apr 27 2018, 2:16 PM
johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Improving locking
Refactor
Fix style

Apr 27 2018, 2:13 PM
johalun0_gmail.com added inline comments to D11003: Load balance sockets with new SO_REUSEPORT_LB option.
Apr 27 2018, 2:10 PM

Apr 26 2018

johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Add entry in man page

Apr 26 2018, 2:01 PM
johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Full context for all files.

Apr 26 2018, 12:32 PM
johalun0_gmail.com added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.

@gnn @rwatson Are we good to go?

Apr 26 2018, 10:35 AM

Apr 24 2018

johalun0_gmail.com added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Thanks for the feedback!

Apr 24 2018, 5:38 PM
johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Changes:

  • Fix style
  • Add lock assertions
  • Acquire INP_HASH_RLOCK in_pcblookup_lbgroup_last()
  • Acquire INP_WLOCK before calling soinherit()
Apr 24 2018, 5:26 PM

Apr 20 2018

johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Update to apply cleanly to HEAD as of 20180420.

Apr 20 2018, 10:17 AM
johalun0_gmail.com updated the summary of D11003: Load balance sockets with new SO_REUSEPORT_LB option.
Apr 20 2018, 8:18 AM

Mar 29 2018

johalun0_gmail.com accepted D14027: Properly range check the keyboard repeat values in the KDSETREPEAT IOCTLs in the kernel.

Together with r331692 this issue is solved.

Mar 29 2018, 12:34 PM

Feb 20 2018

johalun0_gmail.com abandoned D14016: Update linuxkpi to Linux 4.11.

Committed.

Feb 20 2018, 4:46 PM
johalun0_gmail.com accepted D14016: Update linuxkpi to Linux 4.11.

Everything in HEAD now.

Feb 20 2018, 4:32 PM

Feb 17 2018

johalun0_gmail.com updated the summary of D14016: Update linuxkpi to Linux 4.11.
Feb 17 2018, 9:57 AM

Feb 1 2018

johalun0_gmail.com updated the diff for D14016: Update linuxkpi to Linux 4.11.

Minor style fixes

Feb 1 2018, 3:55 PM
johalun0_gmail.com updated the diff for D14016: Update linuxkpi to Linux 4.11.

Simplify tasklet_enable function.

Feb 1 2018, 3:44 PM
johalun0_gmail.com updated the diff for D14016: Update linuxkpi to Linux 4.11.

Fix comments and various style fixes.

Feb 1 2018, 3:28 PM
johalun0_gmail.com added inline comments to D14016: Update linuxkpi to Linux 4.11.
Feb 1 2018, 3:24 PM

Jan 31 2018

johalun0_gmail.com updated the summary of D14016: Update linuxkpi to Linux 4.11.
Jan 31 2018, 6:40 PM
johalun0_gmail.com added a comment to D14016: Update linuxkpi to Linux 4.11.

Fixed some comments. Will update the diff when the last one is fixed.
@hselasky please check my comments in list.h and wait.h.

Jan 31 2018, 6:39 PM

Jan 30 2018

johalun0_gmail.com added a comment to D14016: Update linuxkpi to Linux 4.11.

@hselasky
Thanks for the feedback! I will look at the issues. Please look at my replies to your comments.
The work was started before the split of linuxkpi so merging it back into the two different parts is somewhat messy...

Jan 30 2018, 4:52 PM
johalun0_gmail.com abandoned D7496: Add kevent support to drm.

Not relevant anymore.

Jan 30 2018, 10:13 AM

Jan 26 2018

johalun0_gmail.com added a comment to D14027: Properly range check the keyboard repeat values in the KDSETREPEAT IOCTLs in the kernel.

Seem to help against ukbd irqs but the problem is still there. I now discovered how I can get the same behavior in i3 and X.
I did this in xfce4-terminal, don't know if it has to be that or not. Hold down CTRL (with USB keyboard), press any other key and let go, but hold down CTRL the whole time. Now interrupt storms start on CPU 0 timer.

Jan 26 2018, 10:30 PM
johalun0_gmail.com updated the diff for D14016: Update linuxkpi to Linux 4.11.

Done

  • Moved radix_tree_iter parts to gplv2 module in kms-drm repo
  • Cleaned up style
  • Fixed issues pointed out in comments
Jan 26 2018, 11:52 AM
johalun0_gmail.com updated the summary of D14016: Update linuxkpi to Linux 4.11.
Jan 26 2018, 11:36 AM

Jan 25 2018

johalun0_gmail.com added a comment to D10599: Add x11-wm/weston port.

Thanks for the feedback. Will update the patch.

Jan 25 2018, 2:45 PM
johalun0_gmail.com updated the diff for D10599: Add x11-wm/weston port.

Improve Makefile. Fix portlint warnings.
Use anonymous shared memory instead of /tmp filesystem because posix_allocated won't work with ZFS.

Jan 25 2018, 11:32 AM

Jan 23 2018

johalun0_gmail.com added a comment to D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.
In D13431#294379, @mat wrote:

What would be the reason behind disabling the SUID option ? (I wonder why the option is there exactly.)

Jan 23 2018, 3:28 PM
johalun0_gmail.com updated the diff for D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.

Fix config sample file naming and update checksum.

Jan 23 2018, 2:45 PM

Jan 22 2018

johalun0_gmail.com added inline comments to D14016: Update linuxkpi to Linux 4.11.
Jan 22 2018, 5:35 PM
johalun0_gmail.com created D14016: Update linuxkpi to Linux 4.11.
Jan 22 2018, 4:28 PM

Dec 20 2017

johalun0_gmail.com added inline comments to D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.
Dec 20 2017, 10:38 AM
johalun0_gmail.com updated the diff for D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.

Changed maintainer and fixed indent.

Dec 20 2017, 10:37 AM

Dec 19 2017

johalun0_gmail.com added a comment to D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.

Does this need the wlc update from https://bugs.freebsd.org/224202 ?

Dec 19 2017, 8:37 AM

Dec 9 2017

johalun0_gmail.com added inline comments to D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.
Dec 9 2017, 6:52 PM
johalun0_gmail.com updated the diff for D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.

Thanks for the feedback!
Sorry the previous patch was a bit old. I updated and fixed according to recommendations.

Dec 9 2017, 6:46 PM
johalun0_gmail.com updated the diff for D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.

Add Sway to x11-wm Makefile

Dec 9 2017, 2:05 PM
johalun0_gmail.com created D13431: [new port] x11/wm-sway: i3-compatible Wayland compositor.
Dec 9 2017, 1:58 PM
johalun0_gmail.com updated the diff for D10599: Add x11-wm/weston port.

Update to Weston 3.0

Dec 9 2017, 1:51 PM

Nov 27 2017

johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.
  • Minor fixes for IPv6
  • Fixed a bug that caused non-wildcard IP address sockets to not function properly
Nov 27 2017, 3:49 PM

Oct 6 2017

johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.
  • Add support for IPv6 (but not IPv4-mapped IPv6 addresses)
  • Change to M_NOWAIT in lbgroup malloc to solve non-sleepable lock issue
  • Removed some old printfs.
Oct 6 2017, 8:34 AM

Sep 26 2017

johalun0_gmail.com added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.

I believe we need to update cddl/lib/libdtrace/tcp.d with this change also:

Sep 26 2017, 12:16 PM
johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Update libdtrace with changes to struct field names.

Sep 26 2017, 12:15 PM

Sep 15 2017

johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Fix build error.

Sep 15 2017, 2:18 PM
johalun0_gmail.com updated the diff for D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Remove debug printing and clean up whitespace diffs. Applies cleanly to master branch as of 20170915.
Branch with this patch can be found here:
https://github.com/johalun/freebsd/tree/master-socket-loadbalancer

Sep 15 2017, 1:49 PM