fedora 14 kernel performance with ip forwarding workload
by Jesse Brandeburg
The other day I was running the stock fedora kernel on my ip
forwarding setup, to see what the performance was, and the performance
wasn't very good.
system is S5520HC dual socket 2.93GHz Xeon 5570 (Nehalem) with 3 quad
port 82580 adapters (12 ports). Traffic is bidirectional 64 byte
packets being forwarded and received on each port, basically port to
port routing. I am only using 12 flows currently.
The driver is igb, and I am using an affinity script that lines up
each pair of ports that are forwarding traffic into optimal
configurations for cache locality. I am also disabling
remote_node_defrag_ratio to stop cross node traffic.
With the fedora default kernel from F14 it appears that
CONFIG_NETFILTER=y means that I cannot unload all of netfilter even if
I stop iptables service.
perf showed netfilter being prominent, and removing it gives me much
higher throughput. Is there a reason CONFIG_NETFILTER=y ? Isn't it a
good thing to be able to disable netfilter if you want to?
Jesse
8 years
Feb. Fedora Kernel Patch Report
by Josh Boyer
It's been a while since I sent one of these. Mostly that's due to the
overlap between which upstream stable version we're using in Fedora
across the releases, and how fast those have been happening upstream.
We're settled on 3.13.y now, and with 3.14-rc4 out there things have
calmed down enough to take stock again.
Here's the patches we have on top of 3.13.5.
josh
fs-proc-devtree-remove_proc_entry.patch
- Upstream commit c1d867a54d426b45da017fbe8e585f8a3064ce8d
drm-radeon-Disable-writeback-by-default-on-ppc.patch
- This is superseded by upstream commit
ea31bf697d27270188a93cd78cf9de4bc968aca3 but that seems to be a bit
big for a stable backport
dm-cache-policy-mq_fix-large-scale-table-allocation-bug.patch (rhbz 993744)
- Still pending upstream (no idea why...)
sunrpc-create-a-new-dummy-pipe-for-gssd-to-hold-open.patch
sunrpc-replace-gssd_running-with-more-reliable-check.patch
nfs-check-gssd-running-before-krb5i-auth.patch
- Added to fix a 15sec mount delay
- Upstream commits 4b9a445e3eeb8bd9278b1ae51c1b3a651e370cd6
89f842435c630f8426f414e6030bc2ffea0d6f81
6aa23d76a7b549521a03b63b6d5b7880ea87eab7 respectively
rpc_pipe-remove-the-clntXX-dir-if-creating-the-pipe-fails.patch
sunrpc-add-an-info-file-for-the-dummy-gssd-pipe.patch
rpc_pipe-fix-cleanup-of-dummy-gssd-directory-when-notification-fails.patch
- Fixes for some of the patches above (rhbz 1037793)
- Upstream commits 3396f92f8be606ea485b0a82d4e7749a448b013b
e2f0c83a9de331d9352185ca3642616c13127539
23e66ba97127ff3b064d4c6c5138aa34eafc492f respectively
elantech-Properly-differentiate-between-clickpads-an.patch (rhbz 1030802)
- Upstream commit c15bdfd5b9831e4cab8cfc118243956e267dd30e
KVM-MMU-handle-invalid-root_hpa-at-__direct_map.patch (rhbz 924916)
- Upstream commit 989c6b34f6a9480e397b170cc62237e89bf4fdb9
- Probably should grab 37f6a4e237303549c8676dfe1fd1991ceab512eb too
KVM-VMX-fix-use-after-free-of-vmx-loaded_vmcs.patch (rhbz 1047892)
- Upstream commit 26a865f4aa8e66a6d94958de7656f7f1b03c6c56
0001-Input-wacom-make-sure-touch_max-is-set-for-touch-dev.patch
0002-Input-wacom-add-support-for-three-new-Intuos-devices.patch
0003-Input-wacom-add-reporting-of-SW_MUTE_DEVICE-events.patch
- rhbz 1003167 1046238
- Upstream commits 1d0d6df02750b4a6f466768cbfbf860e24f4c8d4
b5fd2a3e92ca5c8c1f3c20d31ac5daed3ec4d604
961794a00eab03f4344b7d5e825e8e789e55da87
Input-ALPS-add-support-for-Dolphin-devices.patch (rhbz 953211)
- Upstream commit ee65d4b36de8ddf4467f788faa5d8ddd1bfcdaa2
xhci-fix-resume-issues-on-renesas-chips-in-samsung-laptops.patch (rhbz 950630)
- Upstream commit 1aa9578c1a9450fb21501c4f549f5b1edb557e6d
- Oddly not queued for stable?
cgroup-fixes.patch (rhbz 1045755)
- Upstream commits 0ab02ca8f887908152d1a96db5130fc661d36a1e
- There was a 3.12 version of this patch sent to stable list from
Michal Hocko. I don't remember why it wasn't applied, or why it
wasn't applied for 3.13.y...
ipv6-introduce-IFA_F_NOPREFIXROUTE-and-IFA_F_MANAGETEMPADDR-flags.patch
ipv6-addrconf-revert-if_inet6ifa_flag-format.patch
- rhbz 1064430 1056711
- Backports of commits to add this stuff in 3.14. Not suitable for stable.
cifs-ensure-that-uncached-writes-handle-unmapped-areas-correctly.patch
cifs-sanity-check-length-of-data-to-send-before-sending.patch
cifs-mask-off-top-byte-in-get_rfc1002_length.patch
- rhbz 1064253 CVE-2014-0069 rhbz 1068862
- Upstream commit 5d81de8e8667da7135d3a32a964087c0faf5483f and two
additional fixes
cpufreq-powernow-k8-Initialize-per-cpu-data-structures-properly.patch
(rhbz 1054408)
- Upstream commit c3274763bfc3bf1ececa269ed6e6c4d7ec1c3e5e
- CC'd to stable but not queued
e100-Fix-disabling-already-disabled-device-warning.patch (rhbz 994438)
- Upstream commit 2b6e0ca175fe4a20f21ba82b1e7ccc71029c4dd4
usb-ehci-fix-deadlock-when-threadirqs-option-is-used.patch
- Still pending upstream
9 years, 2 months
Bluetooth virtual HCI driver ver 1.3
by poma
3.13.0-0.rc7.git2.2.fc21.x86_64:
depmod: ERROR: Module 'hci_vhci' has devname (vhci) but lacks major and
minor information. Ignoring.
poma
9 years, 3 months
[PATCH] Enable USB gadget subsystem outside ARM
by Lubomir Rintel
It's generally useful. On other architectures the UDC capable hardware might
not be very common, but the dummy HCD makes it possible to use such hardware
for development and emulation of USB gadget driver code.
---
Hi,
I'm wondering if you could apply this?
Thank you!
Lubo
config-armv7-generic | 56 -------------------------------------------------
config-debug | 5 +++++
config-generic | 59 ++++++++++++++++++++++++++++++++++++++++++++++++----
config-nodebug | 3 +++
mod-extra.list | 28 +++++++++++++++++++++++++
5 files changed, 91 insertions(+), 60 deletions(-)
diff --git a/config-armv7-generic b/config-armv7-generic
index 8215e60..c43601f 100644
--- a/config-armv7-generic
+++ b/config-armv7-generic
@@ -180,62 +180,6 @@ CONFIG_AX88796_93CX6=y
CONFIG_USB_ISP1760_HCD=m
# CONFIG_USB_EHCI_HCD_ORION is not set
-# usb gadget
-CONFIG_USB_GADGET=m
-CONFIG_USB_GADGET_MUSB_HDRC=m
-CONFIG_USB_GADGET_VBUS_DRAW=100
-CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
-CONFIG_USB_MUSB_HDRC=m
-CONFIG_USB_MUSB_DUAL_ROLE=y
-CONFIG_USB_MUSB_DSPS=m
-CONFIG_USB_GPIO_VBUS=m
-CONFIG_USB_G_ACM_MS=m
-CONFIG_USB_G_DBGP=m
-CONFIG_USB_G_DBGP_PRINTK=y
-CONFIG_USB_G_DBGP_SERIAL=y
-CONFIG_USB_G_MULTI=m
-CONFIG_USB_G_MULTI_CDC=y
-# CONFIG_USB_G_MULTI_RNDIS is not set
-CONFIG_USB_G_NCM=m
-CONFIG_USB_G_SERIAL=m
-CONFIG_USB_ETH_EEM=y
-# CONFIG_USB_ETH_RNDIS is not set
-CONFIG_USB_CDC_COMPOSITE=m
-CONFIG_USB_GADGET_TARGET=m
-CONFIG_USB_MASS_STORAGE=m
-CONFIG_USB_CONFIGFS=m
-CONFIG_USB_CONFIGFS_ACM=y
-CONFIG_USB_CONFIGFS_ECM=y
-CONFIG_USB_CONFIGFS_ECM_SUBSET=y
-CONFIG_USB_CONFIGFS_EEM=y
-CONFIG_USB_CONFIGFS_MASS_STORAGE=y
-CONFIG_USB_CONFIGFS_NCM=y
-CONFIG_USB_CONFIGFS_OBEX=y
-# CONFIG_USB_CONFIGFS_RNDIS is not set
-CONFIG_USB_CONFIGFS_SERIAL=y
-CONFIG_USB_CONFIGFS_STORAGE=y
-
-# CONFIG_MUSB_PIO_ONLY is not set
-# CONFIG_USB_MUSB_DEBUG is not set
-# CONFIG_USB_GADGET_DEBUG is not set
-# CONFIG_USB_GADGET_DEBUG_FILES is not set
-# CONFIG_USB_GADGET_DEBUG_FS is not set
-# CONFIG_USB_FUSB300 is not set
-# CONFIG_USB_RENESAS_USBHS is not set
-# CONFIG_USB_FOTG210_UDC is not set
-# CONFIG_USB_R8A66597 is not set
-# CONFIG_USB_PXA27X is not set
-# CONFIG_USB_MV_UDC is not set
-# CONFIG_USB_MV_U3D is not set
-# CONFIG_USB_M66592 is not set
-# CONFIG_USB_AMD5536UDC is not set
-# CONFIG_USB_NET2272 is not set
-# CONFIG_USB_NET2280 is not set
-# CONFIG_USB_GOKU is not set
-# CONFIG_USB_EG20T is not set
-# CONFIG_USB_DUMMY_HCD is not set
-# CONFIG_USB_ZERO_HNPTEST is not set
-
# Multifunction Devices
CONFIG_MFD_TPS65090=y
CONFIG_MFD_TPS65217=y
diff --git a/config-debug b/config-debug
index 8000b4e..6103fdc 100644
--- a/config-debug
+++ b/config-debug
@@ -126,3 +126,8 @@ CONFIG_EDAC_DEBUG=y
CONFIG_X86_DEBUG_STATIC_CPU_HAS=y
CONFIG_LATENCYTOP=y
CONFIG_SCHEDSTATS=y
+
+CONFIG_USB_GADGET_DEBUG=y
+CONFIG_USB_GADGET_DEBUG_FILES=y
+CONFIG_USB_GADGET_DEBUG_FS=y
+CONFIG_USB_GADGET_VERBOSE=y
diff --git a/config-generic b/config-generic
index 1624883..6e5d93a 100644
--- a/config-generic
+++ b/config-generic
@@ -3673,7 +3673,6 @@ CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_KC2190=y
-# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_CHIPIDEA is not set
#
@@ -3764,7 +3763,6 @@ CONFIG_USB_EZUSB=y
CONFIG_USB_EMI62=m
CONFIG_USB_LED=m
# CONFIG_USB_CYPRESS_CY7C63 is not set
-CONFIG_USB_G_SERIAL=m
#
# USB Miscellaneous drivers
@@ -3798,9 +3796,62 @@ CONFIG_USB_ETH=m
CONFIG_USB_FTDI_ELAN=m
CONFIG_USB_FILE_STORAGE=m
# CONFIG_USB_FILE_STORAGE_TEST is not set
-# CONFIG_USB_GADGET is not set
+
+# usb gadget
+CONFIG_USB_GADGET=m
+CONFIG_USB_GADGET_MUSB_HDRC=m
+CONFIG_USB_GADGET_VBUS_DRAW=100
+CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
+CONFIG_USB_MUSB_HDRC=m
+CONFIG_USB_MUSB_DUAL_ROLE=y
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_G_ACM_MS=m
+CONFIG_USB_G_DBGP=m
+CONFIG_USB_G_DBGP_SERIAL=y
+CONFIG_USB_G_MULTI=m
+CONFIG_USB_G_MULTI_CDC=y
+# CONFIG_USB_G_MULTI_RNDIS is not set
+CONFIG_USB_G_NCM=m
+CONFIG_USB_G_SERIAL=m
+CONFIG_USB_ETH_EEM=y
+# CONFIG_USB_ETH_RNDIS is not set
+CONFIG_USB_CDC_COMPOSITE=m
+CONFIG_USB_GADGET_TARGET=m
+CONFIG_USB_MASS_STORAGE=m
+CONFIG_USB_CONFIGFS=m
+CONFIG_USB_CONFIGFS_ACM=y
+CONFIG_USB_CONFIGFS_ECM=y
+CONFIG_USB_CONFIGFS_ECM_SUBSET=y
+CONFIG_USB_CONFIGFS_EEM=y
+CONFIG_USB_CONFIGFS_MASS_STORAGE=y
+CONFIG_USB_CONFIGFS_NCM=y
+CONFIG_USB_CONFIGFS_OBEX=y
+# CONFIG_USB_CONFIGFS_RNDIS is not set
+CONFIG_USB_CONFIGFS_SERIAL=y
+CONFIG_USB_CONFIGFS_STORAGE=y
+
+# CONFIG_USB_RENESAS_USBHS is not set
+# CONFIG_USB_FOTG210_UDC is not set
+# CONFIG_USB_R8A66597 is not set
+# CONFIG_USB_PXA27X is not set
+# CONFIG_USB_MV_UDC is not set
+# CONFIG_USB_MV_U3D is not set
+# CONFIG_USB_M66592 is not set
+# CONFIG_USB_NET2272 is not set
+# CONFIG_USB_ZERO_HNPTEST is not set
+# CONFIG_USB_FUSB300 is not set
+# CONFIG_USB_AMD5536UDC is not set
+# CONFIG_USB_NET2280 is not set
+# CONFIG_USB_GOKU is not set
+# CONFIG_USB_EG20T is not set
+CONFIG_USB_DUMMY_HCD=m
+
# CONFIG_USB_DWC3 is not set
-# CONFIG_USB_GADGETFS is not set
+CONFIG_USB_GADGETFS=m
+CONFIG_USB_FUNCTIONFS=m
+CONFIG_USB_FUNCTIONFS_ETH=y
+# CONFIG_USB_FUNCTIONFS_RNDIS is not set
+CONFIG_USB_FUNCTIONFS_GENERIC=y
# CONFIG_USB_OXU210HP_HCD is not set
CONFIG_USB_IOWARRIOR=m
CONFIG_USB_ISIGHTFW=m
diff --git a/config-nodebug b/config-nodebug
index f9f4309..72e0aab 100644
--- a/config-nodebug
+++ b/config-nodebug
@@ -130,3 +130,6 @@ CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_LATENCYTOP is not set
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+# CONFIG_USB_GADGET_DEBUG_FS is not set
diff --git a/mod-extra.list b/mod-extra.list
index 2803a43..2dfda76 100644
--- a/mod-extra.list
+++ b/mod-extra.list
@@ -193,3 +193,31 @@ orinoco_plx.ko
orinoco_pci.ko
orinoco_nortel.ko
orinoco_usb.ko
+dummy_hcd.ko
+g_acm_ms.ko
+g_cdc.ko
+g_dbgp.ko
+g_ether.ko
+g_ffs.ko
+g_mass_storage.ko
+g_multi.ko
+g_ncm.ko
+g_serial.ko
+g_zero.ko
+gadgetfs.ko
+libcomposite.ko
+tcm_usb_gadget.ko
+u_ether.ko
+u_rndis.ko
+u_serial.ko
+udc-core.ko
+usb_f_acm.ko
+usb_f_ecm.ko
+usb_f_ecm_subset.ko
+usb_f_eem.ko
+usb_f_mass_storage.ko
+usb_f_ncm.ko
+usb_f_obex.ko
+usb_f_serial.ko
+usb_f_ss_lb.ko
+musb_hdrc.ko
--
1.8.5.3
9 years, 3 months
[ARM] rtc fix and dts backport for 3.14 fedora kernel
by Nicolas Chauvet
Theses patches apply to the kernel package git module
[PATCH 1/3] [ARM][TEGRA][PAZ00] Add TPS6586x RTC/Regulator as builtin
[PATCH 2/3] [ARM][TEGRA][PAZ00] Add simple-panel support in dts for AC100
[PATCH 3/3] [ARM] [Wandboard] Add CONFIG_RTC_DRV_SNVS as builtin
9 years, 3 months
linux-firmware - change in descriptions
by poma
The last occurrences of the "iwlagn",
- RHEL6.2
/lib/modules/2.6.32-220.23.1.el6.x86_64/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
- F16
/lib/modules/3.1.5-6.fc16.x86_64/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
replaced by the "iwlwifi",
- F20
/lib/modules/3.13.5-200.fc20.x86_64/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
- Rawhide
/lib/modules/3.14.0-0.rc4.git1.1.fc21.x86_64/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
https://bugzilla.redhat.com/show_bug.cgi?id=1070600
poma
9 years, 3 months
kernel-tests master: Add GPLv2 licensing information for testcase control scripts (07591b7)
by Josh Boyer
Repository : http://git.fedorahosted.org/cgit/kernel-tests.git
On branch : master
>---------------------------------------------------------------
commit 07591b795c64df1b3f07f27ace1d46a02c4f378a
Author: Josh Boyer <jwboyer(a)redhat.com>
Date: Mon Feb 24 16:20:47 2014 -0500
Add GPLv2 licensing information for testcase control scripts
Be sure to note that individual testcases and code may be licensed under
different terms.
>---------------------------------------------------------------
performance/lmbench3/COPYING => LICENSE | 39 ++++++++++++++++++------------
default/cachedrop/runtest.sh | 2 +
default/defaultpass/runtest.sh.example | 2 +
default/libhugetlbfs/runtest.sh | 2 +
default/modsign/modsign_tests.sh | 2 +
default/modsign/runtest.sh | 2 +
default/paxtest/runtest.sh | 2 +
default/stack-randomness/runtest.sh | 3 ++
default/sysfs-perms/runtest.sh | 2 +
default/timer-overhead/runtest.sh | 2 +
destructive/destructivepass/runtest.sh | 2 +
minimal/minimalfail/runtest.sh.example | 2 +
minimal/minimalpass/runtest.sh.example | 2 +
minimal/minimalskip/runtest.sh.example | 2 +
performance/lmbench3/runtest.sh | 2 +
runtests.sh | 2 +
stress/ltp/diostress.sh | 2 +
stress/ltp/fsstress.sh | 2 +
stress/ltp/ipcstress.sh | 2 +
stress/ltp/mmstress.sh | 2 +
stress/ltp/runtest.sh | 2 +
stress/stresspass/runtest.sh | 2 +
utils/build-deps.sh | 2 +
utils/loopback.sh | 2 +
utils/mod-check.sh | 2 +
utils/root-check.sh | 2 +
26 files changed, 74 insertions(+), 16 deletions(-)
diff --git a/performance/lmbench3/COPYING b/LICENSE
similarity index 93%
copy from performance/lmbench3/COPYING
copy to LICENSE
index a43ea21..510a572 100644
--- a/performance/lmbench3/COPYING
+++ b/LICENSE
@@ -1,12 +1,19 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+The framework and scripts contained in the kernel-tests package are licensed
+under the GNU General Public License, version 2. Individual test cases or
+code may be licensed under different terms and will be noted in the
+directories or files of those test cases. A copy of GPLv2 is included below.
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 675 Mass Ave, Cambridge, MA 02139, USA
+-------------------------------------------------------------------------------
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -15,7 +22,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
+the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
@@ -56,7 +63,7 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@@ -255,7 +262,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -277,9 +284,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- Appendix: How to Apply These Terms to Your New Programs
+ How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -291,7 +298,7 @@ convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
- Copyright (C) 19yy <name of author>
+ Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -303,16 +310,16 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
- Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
@@ -335,5 +342,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
+library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
diff --git a/default/cachedrop/runtest.sh b/default/cachedrop/runtest.sh
index e565dea..aac8623 100755
--- a/default/cachedrop/runtest.sh
+++ b/default/cachedrop/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#
+# Licensed under the terms of the GNU GPL License version 2
source ../../utils/root-check.sh
diff --git a/default/defaultpass/runtest.sh.example b/default/defaultpass/runtest.sh.example
index b44a7a7..729175f 100755
--- a/default/defaultpass/runtest.sh.example
+++ b/default/defaultpass/runtest.sh.example
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
echo "sample test from the default directory, should always pass"
diff --git a/default/libhugetlbfs/runtest.sh b/default/libhugetlbfs/runtest.sh
index 88a45ca..18fa2c1 100755
--- a/default/libhugetlbfs/runtest.sh
+++ b/default/libhugetlbfs/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#
+# Licensed under the terms of the GNU GPL License version 2
source ../../utils/root-check.sh
diff --git a/default/modsign/modsign_tests.sh b/default/modsign/modsign_tests.sh
index c29124f..b0bab67 100755
--- a/default/modsign/modsign_tests.sh
+++ b/default/modsign/modsign_tests.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
modsign_check_modules()
{
diff --git a/default/modsign/runtest.sh b/default/modsign/runtest.sh
index c6e2451..9907bb0 100755
--- a/default/modsign/runtest.sh
+++ b/default/modsign/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#
+# Licensed under the terms of the GNU GPL License version 2
source ../../utils/root-check.sh
diff --git a/default/paxtest/runtest.sh b/default/paxtest/runtest.sh
index 0e8e8b1..8b44626 100755
--- a/default/paxtest/runtest.sh
+++ b/default/paxtest/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#
+# Licensed under the terms of the GNU GPL License version 2
check_kill()
{
diff --git a/default/stack-randomness/runtest.sh b/default/stack-randomness/runtest.sh
index ac519a7..77d17de 100755
--- a/default/stack-randomness/runtest.sh
+++ b/default/stack-randomness/runtest.sh
@@ -1,4 +1,7 @@
#!/bin/sh
+#
+# Licensed under the terms of the GNU GPL License version 2
+
COUNT=$(for i in `seq 1 1000` ; do grep stack /proc/self/maps; done | sort -u | uniq -c | wc -l)
if [ $COUNT -lt 950 ]; then
diff --git a/default/sysfs-perms/runtest.sh b/default/sysfs-perms/runtest.sh
index 69f5e6b..351af76 100755
--- a/default/sysfs-perms/runtest.sh
+++ b/default/sysfs-perms/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#
+# Licensed under the terms of the GNU GPL License version 2
COUNT=$(find /sys -type f -perm 666 | ./ignore-files.sh | wc -l)
diff --git a/default/timer-overhead/runtest.sh b/default/timer-overhead/runtest.sh
index ac43f9c..42b37df 100755
--- a/default/timer-overhead/runtest.sh
+++ b/default/timer-overhead/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#
+# Licensed under the terms of the GNU GPL License version 2
if [ ! -f ./timer-test ]; then
make
diff --git a/destructive/destructivepass/runtest.sh b/destructive/destructivepass/runtest.sh
index 53a6967..e1fae7d 100755
--- a/destructive/destructivepass/runtest.sh
+++ b/destructive/destructivepass/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
echo "sample test from the destructive directory, should always pass"
diff --git a/minimal/minimalfail/runtest.sh.example b/minimal/minimalfail/runtest.sh.example
index 1efb53e..d957453 100755
--- a/minimal/minimalfail/runtest.sh.example
+++ b/minimal/minimalfail/runtest.sh.example
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
echo "sample test from the minimal directory, should always fail"
diff --git a/minimal/minimalpass/runtest.sh.example b/minimal/minimalpass/runtest.sh.example
index 20905d4..783e6dc 100755
--- a/minimal/minimalpass/runtest.sh.example
+++ b/minimal/minimalpass/runtest.sh.example
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
echo "sample test from the minimal directory, should always pass"
diff --git a/minimal/minimalskip/runtest.sh.example b/minimal/minimalskip/runtest.sh.example
index bc139dc..0e59579 100755
--- a/minimal/minimalskip/runtest.sh.example
+++ b/minimal/minimalskip/runtest.sh.example
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
echo "sample test from the minimal directory, should always skip"
diff --git a/performance/lmbench3/runtest.sh b/performance/lmbench3/runtest.sh
index 3a81c6d..87b211d 100755
--- a/performance/lmbench3/runtest.sh
+++ b/performance/lmbench3/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#
+# Licensed under the terms of the GNU GPL License version 2
if [ -f bin/$(uname -m)-linux-gnu/$(scripts/config) ]; then
make rerun
diff --git a/runtests.sh b/runtests.sh
index b3f7de0..1d9ad98 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
date=$(date +%s)
topdir=$(pwd)
diff --git a/stress/ltp/diostress.sh b/stress/ltp/diostress.sh
index 0bbde18..bc907de 100755
--- a/stress/ltp/diostress.sh
+++ b/stress/ltp/diostress.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
source ../../utils/loopback.sh
diff --git a/stress/ltp/fsstress.sh b/stress/ltp/fsstress.sh
index d4ba22f..371dcb8 100755
--- a/stress/ltp/fsstress.sh
+++ b/stress/ltp/fsstress.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
#set -e
diff --git a/stress/ltp/ipcstress.sh b/stress/ltp/ipcstress.sh
index 5388f66..c84f592 100755
--- a/stress/ltp/ipcstress.sh
+++ b/stress/ltp/ipcstress.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
pushd ltp/testcases/kernel/ipc/ipc_stress
./testall
diff --git a/stress/ltp/mmstress.sh b/stress/ltp/mmstress.sh
index 7e81563..0c5ad44 100755
--- a/stress/ltp/mmstress.sh
+++ b/stress/ltp/mmstress.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
set -e
diff --git a/stress/ltp/runtest.sh b/stress/ltp/runtest.sh
index e2a4560..3e4ec2f 100755
--- a/stress/ltp/runtest.sh
+++ b/stress/ltp/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
source ../../utils/root-check.sh
source ../../utils/build-deps.sh
diff --git a/stress/stresspass/runtest.sh b/stress/stresspass/runtest.sh
index 1bebc72..cd7c75b 100755
--- a/stress/stresspass/runtest.sh
+++ b/stress/stresspass/runtest.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
echo "sample test from the stress directory, should always pass"
diff --git a/utils/build-deps.sh b/utils/build-deps.sh
index 5754fdc..d85eece 100644
--- a/utils/build-deps.sh
+++ b/utils/build-deps.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
install_dep() {
yum install -y $1;
diff --git a/utils/loopback.sh b/utils/loopback.sh
index 3179c43..dbc9f5a 100644
--- a/utils/loopback.sh
+++ b/utils/loopback.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
create_sparse_file() {
dd if=/dev/zero of=$1 bs=1 count=0 seek=$2M ;
diff --git a/utils/mod-check.sh b/utils/mod-check.sh
index f706ee0..9815e9b 100644
--- a/utils/mod-check.sh
+++ b/utils/mod-check.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
# This function will check to see if a module is loaded. It is usefule
# for tests which require specific modules or hardware. If a module
diff --git a/utils/root-check.sh b/utils/root-check.sh
index 9014e44..b8d0314 100644
--- a/utils/root-check.sh
+++ b/utils/root-check.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#
+# Licensed under the terms of the GNU GPL License version 2
check_root() {
if [ $(id -u) -ne 0 ]
9 years, 3 months
3.13.5
by poma
$ uname -r
3.13.5-200.fc20.x86_64+debug
2 patch down, 1 arrive, 57 more to go.
Recon team, done.
All clear.
poma
9 years, 3 months