[folded-merged] procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3
has been removed from the -mm tree.  Its filename was
     procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3.patch

This patch was dropped because it was folded into procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps.patch

------------------------------------------------------
From: Andrei Vagin <avagin@xxxxxxxxxx>
Subject: procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3

v3: use unsigned int instead of int where it is suitable.

Link: http://lkml.kernel.org/r/20180214025619.4005-1-avagin@xxxxxxxxxx
Signed-off-by: Andrei Vagin <avagin@xxxxxxxxxx>
Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


diff -puN fs/seq_file.c~procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3 fs/seq_file.c
--- a/fs/seq_file.c~procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3
+++ a/fs/seq_file.c
@@ -722,15 +722,16 @@ EXPORT_SYMBOL(seq_put_decimal_ull);
  * @v: the number
  * @width: a minimum field width
  *
- * seq_put_hex_ll(m, "", v, 8) is equal to seq_printf(m, "0x08llx", v)
+ * seq_put_hex_ll(m, "", v, 8) is equal to seq_printf(m, "%08llx", v)
  *
  * This routine is very quick when you show lots of numbers.
  * In usual cases, it will be better to use seq_printf(). It's easier to read.
  */
 void seq_put_hex_ll(struct seq_file *m, const char *delimiter,
-				unsigned long long v, int width)
+				unsigned long long v, unsigned int width)
 {
-	int i, len;
+	unsigned int len;
+	int i;
 
 	if (delimiter && delimiter[0]) {
 		if (delimiter[1] == 0)
diff -puN include/linux/seq_file.h~procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3 include/linux/seq_file.h
--- a/include/linux/seq_file.h~procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3
+++ a/include/linux/seq_file.h
@@ -122,7 +122,7 @@ void seq_put_decimal_ull(struct seq_file
 			 unsigned long long num);
 void seq_put_decimal_ll(struct seq_file *m, const char *delimiter, long long num);
 void seq_put_hex_ll(struct seq_file *m, const char *delimiter,
-		    unsigned long long v, int width);
+		    unsigned long long v, unsigned int width);
 
 void seq_escape(struct seq_file *m, const char *s, const char *esc);
 
_

Patches currently in -mm which might be from avagin@xxxxxxxxxx are

procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps.patch
procfs-optimize-seq_pad-to-speed-up-proc-pid-maps.patch
proc-add-seq_put_decimal_ull_width-to-speed-up-proc-pid-smaps.patch
proc-replace-seq_printf-on-seq_putc-to-speed-up-proc-pid-smaps.patch
proc-optimize-single-symbol-delimiters-to-spead-up-seq_put_decimal_ull.patch
proc-replace-seq_printf-by-seq_put_smth-to-speed-up-proc-pid-status.patch
autofs4-use-wait_event_killable-fix.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



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux