Skip to contentSkip to conversation

Patch "parisc: Switch to generic sched_clock implementation" has been added to the 4.8-stable tree

PATCH [email protected] 1 participant 1 message Nov 29, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

parisc: Switch to generic sched_clock implementation

to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
parisc-switch-to-generic-sched_clock-implementation.patch
and it can be found in the queue-4.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 43b1f6abd59063a088416a0df042b36450f91f75 Mon Sep 17 00:00:00 2001

From: Helge Deller <[email protected]>
Date: Tue, 22 Nov 2016 18:08:30 +0100
Subject: parisc: Switch to generic sched_clock implementation

From: Helge Deller <[email protected]>

commit 43b1f6abd59063a088416a0df042b36450f91f75 upstream.

Drop the open-coded sched_clock() function and replace it by the provided GENERIC_SCHED_CLOCK implementation. We have seen quite some hung tasks in the past, which seem to be fixed by this patch.

---
 arch/parisc/Kconfig       |    4 ++-
 arch/parisc/kernel/time.c |   57 ++++++++--------------------------------------
 2 files changed, 14 insertions(+), 47 deletions(-)
arch/parisc/Kconfig +3 -1
@@ -33,7 +33,9 @@ config PARISC
 	select HAVE_ARCH_HASH
 	select HAVE_ARCH_SECCOMP_FILTER
 	select HAVE_ARCH_TRACEHOOK
-	select HAVE_UNSTABLE_SCHED_CLOCK if (SMP || !64BIT)
+	select GENERIC_SCHED_CLOCK
+	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
+	select GENERIC_CLOCKEVENTS
 	select ARCH_NO_COHERENT_DMA_MMAP
 	select CPU_NO_EFFICIENT_FFS
 
arch/parisc/kernel/time.c +11 -46

97 lines not on this page · raw message

Patches currently in stable-queue which might be from [email protected] are

queue-4.8/parisc-fix-race-in-pci-dma.c.patch queue-4.8/parisc-also-flush-data-tlb-in-flush_icache_page_asm.patch queue-4.8/parisc-switch-to-generic-sched_clock-implementation.patch queue-4.8/parisc-fix-races-in-parisc_setup_cache_timing.patch