* [merged] sched-psi-export-psi_memstall_enterleave.patch removed from -mm tree
@ 2022-09-28 17:13 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-09-28 17:13 UTC (permalink / raw)
To: mm-commits, xiang, willy, surenb, josef, hsiangkao, hannes,
dsterba, clm, chao, axboe, hch, akpm
The quilt patch titled
Subject: sched/psi: export psi_memstall_{enter,leave}
has been removed from the -mm tree. Its filename was
sched-psi-export-psi_memstall_enterleave.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Christoph Hellwig <hch@lst.de>
Subject: sched/psi: export psi_memstall_{enter,leave}
Date: Thu, 15 Sep 2022 10:41:57 +0100
To properly account for all refaults from file system logic, file systems
need to call psi_memstall_enter directly, so export it.
Link: https://lkml.kernel.org/r/20220915094200.139713-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Chao Yu <chao@kernel.org>
Cc: Chris Mason <clm@fb.com>
Cc: David Sterba <dsterba@suse.com>
Cc: Gao Xiang <hsiangkao@linux.alibaba.com>
Cc: Gao Xiang <xiang@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/sched/psi.c | 2 ++
1 file changed, 2 insertions(+)
--- a/kernel/sched/psi.c~sched-psi-export-psi_memstall_enterleave
+++ a/kernel/sched/psi.c
@@ -917,6 +917,7 @@ void psi_memstall_enter(unsigned long *f
rq_unlock_irq(rq, &rf);
}
+EXPORT_SYMBOL_GPL(psi_memstall_enter);
/**
* psi_memstall_leave - mark the end of an memory stall section
@@ -946,6 +947,7 @@ void psi_memstall_leave(unsigned long *f
rq_unlock_irq(rq, &rf);
}
+EXPORT_SYMBOL_GPL(psi_memstall_leave);
#ifdef CONFIG_CGROUPS
int psi_cgroup_alloc(struct cgroup *cgroup)
_
Patches currently in -mm which might be from hch@lst.de are
btrfs-add-manual-psi-accounting-for-compressed-reads.patch
erofs-add-manual-psi-accounting-for-the-compressed-address-space.patch
block-remove-psi-accounting-from-the-bio-layer.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-28 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 17:13 [merged] sched-psi-export-psi_memstall_enterleave.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.