linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2] Damos filter cleanup code and implement workingset
@ 2023-09-19  9:52 Huan Yang
  2023-09-19  9:52 ` [RFC 1/2] mm/damos/filter: Add workingset page filter Huan Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Huan Yang @ 2023-09-19  9:52 UTC (permalink / raw)
  To: SeongJae Park, Andrew Morton, open list,
	open list:DATA ACCESS MONITOR, open list:DATA ACCESS MONITOR
  Cc: opensource.kernel, Huan Yang

Now damos support filter contains two type.
The first is scheme filter which will invoke each scheme apply,
second is scheme action filter, which will filter out unwanted action.

But this implement is scattered in different implementations and hard
to reuse or extend.

This patchset clean up those filter code, move into filter.c and add header
to expose filter func.(patch 2) And add a new filter "workingset" to 
protect workingset page.

Do we need this and cleanup it?

Huan Yang (2):
  mm/damos/filter: Add workingset page filter
  mm/damos/filter: Damos filter cleanup

 include/linux/damon.h    |  62 +-----------------
 mm/damon/Makefile        |   2 +-
 mm/damon/core-test.h     |   7 ++
 mm/damon/core.c          |  93 ++++-----------------------
 mm/damon/filter.c        | 135 +++++++++++++++++++++++++++++++++++++++
 mm/damon/filter.h        | 119 ++++++++++++++++++++++++++++++++++
 mm/damon/paddr.c         |  29 +++------
 mm/damon/reclaim.c       |  48 +++++++++++---
 mm/damon/sysfs-schemes.c |   1 +
 9 files changed, 325 insertions(+), 171 deletions(-)
 create mode 100644 mm/damon/filter.c
 create mode 100644 mm/damon/filter.h

-- 
2.34.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-25 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-19  9:52 [RFC 0/2] Damos filter cleanup code and implement workingset Huan Yang
2023-09-19  9:52 ` [RFC 1/2] mm/damos/filter: Add workingset page filter Huan Yang
2023-09-19  9:52 ` [RFC 2/2] mm/damos/filter: Damos filter cleanup Huan Yang
2023-09-21 19:36 ` [RFC 0/2] Damos filter cleanup code and implement workingset SeongJae Park
2023-09-22  2:54   ` 杨欢
2023-09-22 22:15     ` SeongJae Park
2023-09-25  2:10       ` 杨欢
2023-09-25 15:53         ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox