All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] mm-khugepaged-add-tracepoint-to-collapse_file-v4.patch removed from -mm tree
@ 2022-12-12  0:05 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-12-12  0:05 UTC (permalink / raw)
  To: mm-commits, zokeefe, shy828301, rostedt, mhiramat, david,
	gautammenghani201, akpm


The quilt patch titled
     Subject: mm-khugepaged-add-tracepoint-to-collapse_file-v4
has been removed from the -mm tree.  Its filename was
     mm-khugepaged-add-tracepoint-to-collapse_file-v4.patch

This patch was dropped because it was folded into mm-khugepaged-add-tracepoint-to-collapse_file.patch

------------------------------------------------------
From: Gautam Menghani <gautammenghani201@gmail.com>
Subject: mm-khugepaged-add-tracepoint-to-collapse_file-v4
Date: Sat, 3 Dec 2022 01:48:07 +0530

swap is_shmem and addr to save space, per Steven Rostedt

Link: https://lkml.kernel.org/r/20221202201807.182829-1-gautammenghani201@gmail.com
Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/trace/events/huge_memory.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- a/include/trace/events/huge_memory.h~mm-khugepaged-add-tracepoint-to-collapse_file-v4
+++ a/include/trace/events/huge_memory.h
@@ -207,13 +207,13 @@ TRACE_EVENT(mm_khugepaged_collapse_file,
 	TP_PROTO(struct mm_struct *mm, struct page *hpage, pgoff_t index,
 			bool is_shmem, unsigned long addr, struct file *file,
 			int nr, int result),
-	TP_ARGS(mm, hpage, index, is_shmem, addr, file, nr, result),
+	TP_ARGS(mm, hpage, index, addr, is_shmem, file, nr, result),
 	TP_STRUCT__entry(
 		__field(struct mm_struct *, mm)
 		__field(unsigned long, hpfn)
 		__field(pgoff_t, index)
-		__field(bool, is_shmem)
 		__field(unsigned long, addr)
+		__field(bool, is_shmem)
 		__string(filename, file->f_path.dentry->d_iname)
 		__field(int, nr)
 		__field(int, result)
@@ -223,19 +223,19 @@ TRACE_EVENT(mm_khugepaged_collapse_file,
 		__entry->mm = mm;
 		__entry->hpfn = hpage ? page_to_pfn(hpage) : -1;
 		__entry->index = index;
-		__entry->is_shmem = is_shmem;
 		__entry->addr = addr;
+		__entry->is_shmem = is_shmem;
 		__assign_str(filename, file->f_path.dentry->d_iname);
 		__entry->nr = nr;
 		__entry->result = result;
 	),
 
-	TP_printk("mm=%p, hpage_pfn=0x%lx, index=%ld, is_shmem=%d, addr=%ld, filename=%s, nr=%d, result=%s",
+	TP_printk("mm=%p, hpage_pfn=0x%lx, index=%ld, addr=%ld, is_shmem=%d, filename=%s, nr=%d, result=%s",
 		__entry->mm,
 		__entry->hpfn,
 		__entry->index,
-		__entry->is_shmem,
 		__entry->addr,
+		__entry->is_shmem,
 		__get_str(filename),
 		__entry->nr,
 		__print_symbolic(__entry->result, SCAN_STATUS))
_

Patches currently in -mm which might be from gautammenghani201@gmail.com are

mm-khugepaged-add-tracepoint-to-collapse_file.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-12  0:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12  0:05 [folded-merged] mm-khugepaged-add-tracepoint-to-collapse_file-v4.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.