Skip to content

Instantly share code, notes, and snippets.

View pfactum's full-sized avatar

Oleksandr Natalenko pfactum

View GitHub Profile
; === GLOBAL OPTIONS ===
[global]
type=global
keep_alive_interval=30
; === GENERIC TEMPLATES ===
[generic-endpoint](!)
type=endpoint
disallow=all
allow=g729,alaw
DSDT @ 0xbaff1000
0000: 44 53 44 54 86 a2 00 00 02 21 44 45 4c 4c 20 20 DSDT.....!DELL
0010: 49 56 42 2d 43 50 54 00 00 00 00 00 49 4e 54 4c IVB-CPT.....INTL
0020: 09 11 06 20 08 53 53 31 5f 00 08 53 53 32 5f 00 ... .SS1_..SS2_.
0030: 08 53 53 33 5f 01 08 53 53 34 5f 01 08 49 4f 53 .SS3_..SS4_..IOS
0040: 54 0b ff ff 08 53 50 32 4f 0a 4e 08 53 50 31 4f T....SP2O.N.SP1O
0050: 0b 4e 16 08 49 4f 31 42 0b 00 06 08 49 4f 31 4c .N..IO1B....IO1L
0060: 0a 70 08 49 4f 32 42 0b 80 06 08 49 4f 32 4c 0a .p.IO2B....IO2L.
0070: 20 08 49 4f 33 42 0b 90 02 08 49 4f 33 4c 0a 10 .IO3B....IO3L..
0080: 08 53 50 33 4f 0a 2e 08 49 4f 34 42 0b 20 0a 08 .SP3O...IO4B. ..
From 8a40d85519a0ef5d101f969b8464567b92b167bc Mon Sep 17 00:00:00 2001
From: Oleksandr Natalenko <oleksandr@natalenko.name>
Date: Sun, 28 Aug 2016 18:27:47 +0300
Subject: [PATCH] ipt_df-4.7: initial port
---
include/uapi/linux/netfilter_ipv4/ipt_DF.h | 13 +++++
net/ipv4/netfilter/Kconfig | 9 ++++
net/ipv4/netfilter/Makefile | 1 +
net/ipv4/netfilter/ipt_DF.c | 76 ++++++++++++++++++++++++++++++
This file has been truncated, but you can view the full file.
diff --git a/Documentation/DocBook/media_api.tmpl b/Documentation/DocBook/media_api.tmpl
index 6a8b715..9c92bb8 100644
--- a/Documentation/DocBook/media_api.tmpl
+++ b/Documentation/DocBook/media_api.tmpl
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
@pfactum
pfactum / ksm-5.1.patch
Created May 9, 2019 12:04
KSM "always" mode preparations
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 2b8ee90bb644..510766a3fa05 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -2008,6 +2008,13 @@
0: force disabled
1: force enabled
+ ksm_mode=
+ [KNL]
[ 9225.305695] ------------[ cut here ]------------
[ 9225.305699] ------------[ cut here ]------------
[ 9225.305707] DEBUG_LOCKS_WARN_ON(val > preempt_count())
[ 9225.305808] WARNING: CPU: 0 PID: 11923 at kernel/sched/bmq.c:2851 preempt_count_sub+0x5e/0xa0
[ 9225.318289] pvqspinlock: lock 0xffff8d43ff721980 has corrupted value 0x0!
[ 9225.327346] Modules linked in: joydev iTCO_wdt iTCO_vendor_support mousedev kvm_intel kvm bochs_drm ttm drm_kms_helper irqbypass psmouse pcspkr
drm i2c_i801 lpc_ich input_leds intel_agp syscopyarea intel_gtt sysfillrect qemu_fw_cfg evdev sysimgblt fb_sys_fops agpgart mac_hid nls_iso88
[ 371.383452] psi: inconsistent task state! task=1317:Compositor cpu=2 psi_flags=4 clear=0 set=4
[ 371.383486] ------------[ cut here ]------------
[ 371.383513] bmq: dequeue task reside on cpu0 from cpu2
[ 371.383532] WARNING: CPU: 0 PID: 1227 at kernel/sched/bmq.c:607 detach_task+0x30f/0x370
[ 371.383538] Modules linked in: netconsole md4 cmac nls_utf8 cifs ccm dns_resolver fscache bridge stp llc nft_counter nft_ct nf_conn
track nf_defrag_ipv6 nf_defrag_ipv4 msr nf_tables nfnetlink tun ext4 crc16 mbcache jbd2 arc4 ath9k intel_rapl x86_pkg_temp_thermal int
el_powerclamp ath9k_common coretemp kvm_intel ath9k_hw ath kvm mac80211 snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic
snd_hda_intel snd_hda_codec psmouse dell_wmi snd_hda_core irqbypass intel_cstate i2c_i801 intel_uncore rtsx_usb_ms dell_laptop ledtrig
_audio dell_smbios wmi_bmof mei_hdcp memstick dell_wmi_descriptor dcdbas dell_smm_hwmon iTCO_wdt sparse_keymap alx snd_hwdep intel_rap
l_perf iTCO_vendor_support cfg80211 lpc_ich mdio mo
kernel/sched/psi.c: In function ‘cgroup_move_task’:
kernel/sched/psi.c:661:7: error: implicit declaration of function ‘task_rq_lock’; did you mean ‘task_unlock’? [-Werror=implicit-function-declarati
on]
rq = task_rq_lock(task, &rf);
^~~~~~~~~~~~
task_unlock
kernel/sched/psi.c:661:5: warning: assignment to ‘struct rq *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
rq = task_rq_lock(task, &rf);
^
kernel/sched/psi.c:663:6: error: implicit declaration of function ‘task_on_rq_queued’ [-Werror=implicit-function-declaration]
Dec 18 00:07:39 archlinux kernel: Unregister pv shared memory for cpu 30
Dec 18 00:07:39 archlinux kernel: ------------[ cut here ]------------
Dec 18 00:07:39 archlinux kernel: sched: Unexpected reschedule of offline CPU#30!
Dec 18 00:07:39 archlinux kernel: WARNING: CPU: 31 PID: 239 at arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x34/0x40
Dec 18 00:07:39 archlinux kernel: Modules linked in: nls_iso8859_1 nls_cp437 vfat fat 9p fscache joydev mousedev iTCO_wdt iTCO_vendor$
support kvm_intel kvm irqbypass psmouse pcspkr i2c_i801 bochs_drm input_leds ttm qemu_fw_cfg drm_kms_helper drm syscopyarea intel_agp
sysfillrect sysimgblt intel_gtt evdev fb_sys_fops agpgart lpc_ich mac_hid ip_tables x_tables xfs dm_thin_pool dm_persistent_data dm_b$
o_prison dm_bufio libcrc32c crc32c_generic dm_crypt algif_skcipher af_alg dm_mod raid10 md_mod serio_raw sr_mod atkbd cdrom sd_mod li$
ps2 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcb
Dec 14 08:19:39 spock kernel: sd 0:0:0:0: [sda] Stopping disk
Dec 14 08:19:39 spock kernel: ACPI: EC: interrupt blocked
Dec 14 08:19:39 spock kernel: ACPI: Preparing to enter system sleep state S3
Dec 14 08:19:39 spock kernel: ACPI: EC: event blocked
Dec 14 08:19:39 spock kernel: ACPI: EC: EC stopped
Dec 14 08:19:39 spock kernel: PM: Saving platform NVS memory
Dec 14 08:19:39 spock kernel: Disabling non-boot CPUs ...
Dec 14 08:19:39 spock kernel: smpboot: CPU 1 is now offline
Dec 14 08:19:39 spock kernel: ------------[ cut here ]------------
Dec 14 08:19:39 spock kernel: sched: Unexpected reschedule of offline CPU#2!