diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches-rt/0236-net-Use-skbufhead-with-raw-lock.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches-rt/0236-net-Use-skbufhead-with-raw-lock.patch b/debian/patches-rt/0236-net-Use-skbufhead-with-raw-lock.patch index 48d95d023..9af269249 100644 --- a/debian/patches-rt/0236-net-Use-skbufhead-with-raw-lock.patch +++ b/debian/patches-rt/0236-net-Use-skbufhead-with-raw-lock.patch @@ -1,8 +1,8 @@ -From d58fbc3fc363cee50de0ac64be0b90fd2666956a Mon Sep 17 00:00:00 2001 +From 0200f240cf9712f1b3d03597bd4282380f9771ce Mon Sep 17 00:00:00 2001 From: Thomas Gleixner <tglx@linutronix.de> Date: Tue, 12 Jul 2011 15:38:34 +0200 Subject: [PATCH 236/323] net: Use skbufhead with raw lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz Use the rps lock as rawlock so we can keep irq-off regions. It looks low latency. However we can't kfree() from this context therefore we defer this @@ -15,7 +15,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de> 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h -index a210f1995862..af89bd5e7d56 100644 +index a210f19958621..af89bd5e7d568 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -296,6 +296,7 @@ struct sk_buff_head { @@ -40,7 +40,7 @@ index a210f1995862..af89bd5e7d56 100644 struct lock_class_key *class) { diff --git a/net/core/dev.c b/net/core/dev.c -index f973f53c7a1f..895eb42bb5d6 100644 +index 7d95a0251617e..48fcb050b5a7b 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -221,14 +221,14 @@ static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex) @@ -60,7 +60,7 @@ index f973f53c7a1f..895eb42bb5d6 100644 #endif } -@@ -11296,7 +11296,7 @@ static int __init net_dev_init(void) +@@ -11304,7 +11304,7 @@ static int __init net_dev_init(void) INIT_WORK(flush, flush_backlog); @@ -70,5 +70,5 @@ index f973f53c7a1f..895eb42bb5d6 100644 #ifdef CONFIG_XFRM_OFFLOAD skb_queue_head_init(&sd->xfrm_backlog); -- -2.43.0 +2.44.0 |