Created
September 5, 2012 09:23
-
-
Save pfactum/3634001 to your computer and use it in GitHub Desktop.
UKSM fix debug formatting
This file contains 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/mm/uksm.c b/mm/uksm.c | |
index dc40f65..313bc73 100644 | |
--- a/mm/uksm.c | |
+++ b/mm/uksm.c | |
@@ -4566,11 +4566,8 @@ rm_slot: | |
if (max_cpu_ratio) { | |
scan_time = task_sched_runtime(current) - start_time; | |
- if ((scan_time >> 10) > (unsigned long long) ULONG_MAX) { | |
- printk(KERN_ERR "scan_time=%llu start_time=%llu" | |
- "current=%llu", scan_time, start_time, | |
- task_sched_runtime(current)); | |
- } | |
+ if ((scan_time >> 10) > (unsigned long long) ULONG_MAX) | |
+ printk(KERN_ERR "scan_time=%llu start_time=%llu current=%llu\n", scan_time, start_time, task_sched_runtime(current)); | |
expected_jiffies = msecs_to_jiffies( | |
scan_time_to_sleep(scan_time, max_cpu_ratio)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment