johalun0_gmail.com (Johannes Lundberg)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 13 2016, 9:42 PM (97 w, 1 d)

Recent Activity

Mon, Jun 11

johalun0_gmail.com abandoned D15452: Update LinuxKPI to 4.15 .

Committed.

Mon, Jun 11, 7:23 PM

Thu, Jun 7

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

Rebase diff

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

Wed, Jun 6

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

Add license and clean up some reorder diffs

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

Rebase to r334720

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

Rebase against today's head

Wed, Jun 6, 1:06 PM

Fri, Jun 1

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

Some stuff has been committed so rebase against head.

Fri, Jun 1, 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

Fri, Jun 1, 11:56 AM

Thu, May 31

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
Thu, May 31, 2:56 PM

Wed, May 30

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

Remove whitespace change.

Wed, May 30, 10:31 AM
johalun0_gmail.com added inline comments to D11003: Load balance sockets with new SO_REUSEPORT_LB option.
Wed, May 30, 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.

Wed, May 30, 9:58 AM

Tue, May 29

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

Mon, May 28

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

Revert change to MPASS test in scheduler code.

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

Sun, May 27

johalun0_gmail.com updated the summary of D15452: Update LinuxKPI to 4.15 .
Sun, May 27, 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().

Sun, May 27, 8:38 AM
johalun0_gmail.com updated the summary of D15452: Update LinuxKPI to 4.15 .
Sun, May 27, 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 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 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: Add Sway port.
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: Add Sway port.

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: Add Sway port.
Dec 20 2017, 10:38 AM
johalun0_gmail.com updated the diff for D13431: Add Sway port.

Changed maintainer and fixed indent.

Dec 20 2017, 10:37 AM

Dec 19 2017

johalun0_gmail.com added a comment to D13431: Add Sway port.

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: Add Sway port.
Dec 9 2017, 6:52 PM
johalun0_gmail.com updated the diff for D13431: Add Sway port.

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: Add Sway port.

Add Sway to x11-wm Makefile

Dec 9 2017, 2:05 PM
johalun0_gmail.com created D13431: Add Sway port.
Dec 9 2017, 1:58 PM
johalun0_gmail.com updated the diff for D10599: Add 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

Sep 5 2017

johalun0_gmail.com added a comment to D12140: fix iflib netmap rx.

I did a clean world+kernel build on iflib/netmap_rx branch.

Running pkt-gen -i em1 -f rx on receiver and pkt-gen -i em1 -f tx on the sender results in crash on receiver.
(sender and receiver two different machines connected back to back on em1)

db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe03668b2510
vpanic() at vpanic+0x19c/frame 0xfffffe03668b2590
kassert_panic() at kassert_panic+0x126/frame 0xfffffe03668b2600
em_isc_rxd_pkt_get() at em_isc_rxd_pkt_get+0xf1/frame 0xfffffe03668b2670
iflib_netmap_rxsync() at iflib_netmap_rxsync+0x235/frame 0xfffffe03668b2770
netmap_poll() at netmap_poll+0x79c/frame 0xfffffe03668b2870
freebsd_netmap_poll() at freebsd_netmap_poll+0x32/frame 0xfffffe03668b28a0
devfs_poll_f() at devfs_poll_f+0x7f/frame 0xfffffe03668b2900
kern_poll() at kern_poll+0x4fc/frame 0xfffffe03668b2aa0
sys_poll() at sys_poll+0x50/frame 0xfffffe03668b2ac0
amd64_syscall() at amd64_syscall+0x79b/frame 0xfffffe03668b2bf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe03668b2bf0
--- syscall (209, FreeBSD ELF64, sys_poll), rip = 0x800daf2aa, rsp = 0x7fffdfff9e78, rbp = 0x7fffdfff9eb0 ---
KDB: enter: panic
[ thread pid 828 tid 100177 ]
Stopped at      kdb_enter+0x3b: movq    $0,kdb_why

However, if I limit the rate of packets I like so
pkt-gen -i em1 -f rx on receiver and pkt-gen -i em1 -f tx -R 100 on the sender
the receiver stops receiving packets after ~600 packets or so (6 batches received), after that rate on receiver goes to zero but does not crash.

Breaking the process might result in crash:

cpuid = 2                 
time = 1504082223         
KDB: stack backtrace:     
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe02398c0730                           
vpanic() at vpanic+0x19c/frame 0xfffffe02398c07b0   
kassert_panic() at kassert_panic+0x126/frame 0xfffffe02398c0820                                          
iflib_fl_bufs_free() at iflib_fl_bufs_free+0x1c2/frame 0xfffffe02398c0870                                
iflib_stop() at iflib_stop+0x478/frame 0xfffffe02398c08c0                                                
iflib_netmap_register() at iflib_netmap_register+0x1a4/frame 0xfffffe02398c0900                          
netmap_hw_reg() at netmap_hw_reg+0x2c/frame 0xfffffe02398c0930                                           
netmap_do_unregif() at netmap_do_unregif+0x16a/frame 0xfffffe02398c0960                                  
netmap_priv_delete() at netmap_priv_delete+0x31/frame 0xfffffe02398c0980                                 
netmap_dtor() at netmap_dtor+0x2b/frame 0xfffffe02398c09a0                                               
devfs_destroy_cdevpriv() at devfs_destroy_cdevpriv+0x8b/frame 0xfffffe02398c09c0                         
devfs_close_f() at devfs_close_f+0x65/frame 0xfffffe02398c09f0                                           
closef() at closef+0x1f5/frame 0xfffffe02398c0a80   
closefp() at closefp+0x9f/frame 0xfffffe02398c0ac0  
amd64_syscall() at amd64_syscall+0x79b/frame 0xfffffe02398c0bf0                                          
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe02398c0bf0

igb0 interface works flawlessly at 1.4 Mpps so problem limited to em

@johan_duh.se I've fixed these two panics in my dev branch. Both em and igb work fine for me now. I'll update the patch as soon as you can confirm that you find no further issues.

Sep 5 2017, 3:08 PM

Aug 30 2017

johalun0_gmail.com added a comment to D12140: fix iflib netmap rx.

I did a clean world+kernel build on iflib/netmap_rx branch.

Aug 30 2017, 9:03 AM

Aug 28 2017

johalun0_gmail.com added a comment to D12140: fix iflib netmap rx.
em0@pci0:0:31:6:	class=0x020000 card=0x06db1028 chip=0x156f8086 rev=0x21 hdr=0x00
    device     = 'Ethernet Connection I219-LM'

Tested with netmap's pkt-gen

Aug 28 2017, 11:05 AM

Aug 25 2017

johalun0_gmail.com added a comment to D12101: swfw_sync DELAY -> sleep conversion.
In D12101#251488, @erj wrote:

The busy waiting would cause 10% CPU usage on my system when no cable connected to em0 (traced to em_if_update_admin_status).
This patch also fixes this. I can no longer detect any unusual CPU usage.

Getting a lot of witness output. Like a few per second or so.

I think this revision depends on D11969. It changes the core lock from a mutex to an sx lock, which would allow sleeping while its held.

Actually the problem is that I didn't completely eliminate the use of mutexes in the OS independent code. Update forthcoming.

Aug 25 2017, 8:26 AM · network

Aug 24 2017

johalun0_gmail.com added a comment to D12101: swfw_sync DELAY -> sleep conversion.

The busy waiting would cause 10% CPU usage on my system when no cable connected to em0 (traced to em_if_update_admin_status).
This patch also fixes this. I can no longer detect any unusual CPU usage.

Aug 24 2017, 6:57 AM · network

Aug 23 2017

johalun0_gmail.com added a comment to D12101: swfw_sync DELAY -> sleep conversion.

The busy waiting would cause 10% CPU usage on my system when no cable connected to em0 (traced to em_if_update_admin_status).
This patch also fixes this. I can no longer detect any unusual CPU usage.

Aug 23 2017, 7:20 PM · network

Jul 21 2017

johalun0_gmail.com added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.
In D11003#242017, @kevin.bowling_kev009.com wrote:

@sepherosa_gmail.com does this look good to you now?

Yep :)

Jul 21 2017, 6:25 AM

Jul 6 2017

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

socket inheritance
Allow socket inheritance between sockets with SO_REUSEPORT_LB option.
Inspired by https://github.com/DragonFlyBSD/DragonFlyBSD/commit/02ad2f0b874fb0a45eb69750219f79f5e8982272

Jul 6 2017, 12:14 PM

Jun 21 2017

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

And your implementation actually suffers the same issue as Linux: if any of the listen socket is closed, the sockets on the closed listen socket's accept queue are dropped; but well, that's may be acceptable, since I don't think Linux even fixed that.

Would implementing https://github.com/DragonFlyBSD/DragonFlyBSD/commit/02ad2f0b874fb0a45eb69750219f79f5e8982272 solve this?

Yep.

Jun 21 2017, 7:39 AM
johalun0_gmail.com added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.

And your implementation actually suffers the same issue as Linux: if any of the listen socket is closed, the sockets on the closed listen socket's accept queue are dropped; but well, that's may be acceptable, since I don't think Linux even fixed that.

Jun 21 2017, 7:26 AM

Jun 13 2017

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

Duplicate a couple of SO_REUSEPORT checks and do the same for SO_REUSEPORT_LB in 'in_pcb_bindsetup.c'.
Let SO_REUSEPORT_LB set SO_REUSEADDR to fix the "address in use" error earlier mentioned. Testing confirmed that the earlier "possible bug" is now fixed.

Jun 13 2017, 6:30 AM

Jun 2 2017

johalun0_gmail.com created D11027: Enable Wayland backend in gtk30.
Jun 2 2017, 12:20 PM
johalun0_gmail.com updated the summary of D10599: Add Weston port.
Jun 2 2017, 10:45 AM
johalun0_gmail.com retitled D10599: Add Weston port from Add Weston port and update Wayland to Add Weston port.
Jun 2 2017, 10:45 AM

May 31 2017

johalun0_gmail.com updated the diff for D10599: Add Weston port.

Removed graphics/wayland patches since it has already been updated to 1.13

May 31 2017, 1:40 PM
johalun0_gmail.com updated the diff for D10599: Add Weston port.

Remove patch for file with only date change.
Cleaned up weston/Makefile

May 31 2017, 1:24 PM
johalun0_gmail.com created D11003: Load balance sockets with new SO_REUSEPORT_LB option.
May 31 2017, 7:06 AM

May 4 2017

johalun0_gmail.com updated the diff for D10599: Add Weston port.

Reordered rows and clean up in weston/Makefile.

May 4 2017, 2:46 PM
johalun0_gmail.com added a comment to D10448: Update Mesa to 17.0.4, consolidate libs, and add Wayland option.

To illustrate, I just did a build with the WAYLAND option enabled to compare output from ldd.

May 4 2017, 2:17 PM
johalun0_gmail.com updated the diff for D10599: Add Weston port.

Cleaned up weston/Makefile.
Removed xorg-server and gtk30 patches that didn't belong here.

May 4 2017, 2:00 PM
johalun0_gmail.com added a comment to D10448: Update Mesa to 17.0.4, consolidate libs, and add Wayland option.

It is not the size of libwayland-egl that was the concern, rather that I expect some amount of complaints about Mesa depending on graphics/wayland. Since Xorg depends on Mesa, that would mean Xorg pulls in Wayland even without Xwayland installed. Maybe I am being overly cautious here, but "Why does Mesa depend on LLVM from ports when the same version is provided by the base system?" is a regularly recurring question, sometimes in the form of a complaint. Let's take a poll during the call today to see what the group thinks the option's default state should be.

May 4 2017, 1:53 PM
johalun0_gmail.com added a comment to D10448: Update Mesa to 17.0.4, consolidate libs, and add Wayland option.

That is correct, those who wish to try Wayland will n6eed to build some ports with non-default options. The alternative is worse; making everyone using Xorg/Mesa install parts of Wayland regardless of their intent to use it. Unfortunately, we cannot just split off libwayland-egl.so into it's own package because the WAYLAND option also affects the build of gbm (part of the reason to combine the libs was to have a single WAYLAND option affecting both gbm and EGL). I cannot think of a better solution without support for flavors (which would allow packages for mesa-libs and mesa-libs+wayland) but am open to suggestions.

May 4 2017, 1:22 PM