Skip to content

Instantly share code, notes, and snippets.

@pfactum
Created September 5, 2012 09:23
Show Gist options
  • Save pfactum/3634001 to your computer and use it in GitHub Desktop.
Save pfactum/3634001 to your computer and use it in GitHub Desktop.
UKSM fix debug formatting
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