This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/include/linux/memcontrol.h | |
+++ b/include/linux/memcontrol.h | |
@@ -21,6 +21,7 @@ | |
#include <linux/vmstat.h> | |
#include <linux/writeback.h> | |
#include <linux/page-flags.h> | |
+#include <linux/oom.h> | |
struct mem_cgroup; | |
struct page; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/fs/pipe.c | |
+++ b/fs/pipe.c | |
@@ -145,7 +145,7 @@ static int anon_pipe_buf_steal(struct pipe_inode_info *pipe, | |
if (page_count(page) == 1) { | |
if (memcg_kmem_enabled()) | |
- memcg_kmem_uncharge(page, 0); | |
+ memcg_kmem_uncharge(page, 0, NULL); | |
__SetPageLocked(page); | |
return 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h | |
index 9a14a08..f12c655 100644 | |
--- a/include/net/netns/ipv4.h | |
+++ b/include/net/netns/ipv4.h | |
@@ -125,6 +125,7 @@ struct netns_ipv4 { | |
int sysctl_tcp_sack; | |
int sysctl_tcp_window_scaling; | |
int sysctl_tcp_timestamps; | |
+ int sysctl_tcp_rto_max; | |
struct inet_timewait_death_row tcp_death_row; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/device.h> | |
#include <linux/init.h> | |
#include <linux/fs.h> | |
#include <linux/mm.h> | |
#include <asm/uaccess.h> | |
#define MAX_SIZE (PAGE_SIZE * 2) /* max size mmaped to userspace */ | |
#define DEVICE_NAME "mchar" |
NewerOlder