[OS-BUILD PATCH] redhat/configs: automotive: change VIRTIO_NET from a module to built in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Brian Masney <bmasney@xxxxxxxxxx>

redhat/configs: automotive: change VIRTIO_NET from a module to built in

Upstream Status: RHEL Only

Do this to help with the overall boot speed for the qemu target. This
also requires changing two other smaller drivers (net/core/failover.c
and drivers/net/net_failover.c) to built in.

Here's the kernel module sizes for x86_64:

       text	   data	    bss	    dec	    hex	filename
       5334	   1588	     32	   6954	   1b2a	failover.ko
      14399	   1692	      0	  16091	   3edb	net_failover.ko
      73742	   4755	      4	  78501	  132a5	virtio_net.ko

Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>

diff --git a/redhat/configs/common/automotive/generic/CONFIG_FAILOVER b/redhat/configs/common/automotive/generic/CONFIG_FAILOVER
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/automotive/generic/CONFIG_FAILOVER
@@ -0,0 +1 @@
+CONFIG_FAILOVER=y
diff --git a/redhat/configs/common/automotive/generic/CONFIG_NET_FAILOVER b/redhat/configs/common/automotive/generic/CONFIG_NET_FAILOVER
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/automotive/generic/CONFIG_NET_FAILOVER
@@ -0,0 +1 @@
+CONFIG_NET_FAILOVER=y
diff --git a/redhat/configs/common/automotive/generic/CONFIG_VIRTIO_NET b/redhat/configs/common/automotive/generic/CONFIG_VIRTIO_NET
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/automotive/generic/CONFIG_VIRTIO_NET
@@ -0,0 +1 @@
+CONFIG_VIRTIO_NET=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3623

-- 
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux