The patch titled Subject: procfs: avoid breaking the ABI in /proc/stat has been added to the -mm tree. Its filename is procfs-add-num_to_str-to-speed-up-proc-stat-fix-2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrea Righi <andrea@xxxxxxxxxxxxxxx> Subject: procfs: avoid breaking the ABI in /proc/stat The speed up of /proc/stat changed the output of the cpu statistics adding an extra space between the string "cpu" and the cpu id. Restore the old ABI by removing this space. Signed-off-by: Andrea Righi <andrea@xxxxxxxxxxxxxxx> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/proc/stat.c~procfs-add-num_to_str-to-speed-up-proc-stat-fix-2 fs/proc/stat.c --- a/fs/proc/stat.c~procfs-add-num_to_str-to-speed-up-proc-stat-fix-2 +++ a/fs/proc/stat.c @@ -114,7 +114,7 @@ static int show_stat(struct seq_file *p, steal = kcpustat_cpu(i).cpustat[CPUTIME_STEAL]; guest = kcpustat_cpu(i).cpustat[CPUTIME_GUEST]; guest_nice = kcpustat_cpu(i).cpustat[CPUTIME_GUEST_NICE]; - seq_printf(p, "cpu %d", i); + seq_printf(p, "cpu%d", i); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(user)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(system)); _ Subject: Subject: procfs: avoid breaking the ABI in /proc/stat Patches currently in -mm which might be from andrea@xxxxxxxxxxxxxxx are procfs-add-num_to_str-to-speed-up-proc-stat-fix-2.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html