Skip to contentSkip to conversation

4.6.5-rt10

ANNOUNCE Sebastian Andrzej Siewior 1 participant 1 message Aug 5, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Dear RT folks!

I'm pleased to announce the v4.6.5-rt10 patch set.

Changes since v4.6.5-rt9:

- Added missing cpu_light_get() in the scsi fcoe driver. Patch by Mike Galbraith.

- Under a special a condition (a preempted TLB flush in do_exit()) it was possible on x86-UP to enter endless pagefaults. The pagefaults stopped after a context switch.

Known issues
- CPU hotplug got a little better but can deadlock.

The delta patch against 4.6.5-rt9 is appended below and can be found here:

     https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.6/incr/patch-4.6.5-rt9-rt10.patch.xz

You can get this release via the git tree at:

    git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v4.6.5-rt10

The RT patch against 4.6.5 can be found here:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.6/patch-4.6.5-rt10.patch.xz

The split quilt queue is available at:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.6/patches-4.6.5-rt10.tar.xz

Sebastian

arch/x86/include/asm/tlbflush.h +7 -0
index 1fde8d580a5b..b202084a7c35 100644
@@ -135,7 +135,14 @@ static inline void cr4_set_bits_and_update_boot(unsigned long mask)
 
 static inline void __native_flush_tlb(void)
 {
+	/*
+	 * if current->mm == NULL then we borrow a mm which may change during a
+	 * task switch and therefore we must not be preempted while we write CR3
+	 * back.
+	 */
+	preempt_disable();
 	native_write_cr3(native_read_cr3());
+	preempt_enable();
 }
 
 static inline void __native_flush_tlb_global_irq_disabled(void)
drivers/scsi/fcoe/fcoe.c +1 -1
index 3d232657218d..908056efbaf8 100644
@@ -1814,7 +1814,7 @@ static void fcoe_recv_frame(struct sk_buff *skb)
 	 */
 	hp = (struct fcoe_hdr *) skb_network_header(skb);
 
-	stats = per_cpu_ptr(lport->stats, get_cpu());
+	stats = per_cpu_ptr(lport->stats, get_cpu_light());
 	if (unlikely(FC_FCOE_DECAPS_VER(hp) != FC_FCOE_VER)) {
 		if (stats->ErrorFrames < 5)
 			printk(KERN_WARNING "fcoe: FCoE version "
localversion-rt +1 -1
index 22746d6390a4..d79dde624aaa 100644
@@ -1 +1 @@
--rt9
+-rt10