mbox series

[v2,0/3] mm/damon/paddr: minor code improvement

Message ID 20230303084343.171958-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series mm/damon/paddr: minor code improvement | expand

Message

Kefeng Wang March 3, 2023, 8:43 a.m. UTC
Unify folio_put() to make code more clear.

v2: 
- use goto lable in damon_pa_pageout() and refact too more functions

Kefeng Wang (3):
  mm/damon/paddr: minor refactor of damon_pa_pageout()
  mm/damon/paddr: minor refactor of damon_pa_young()
  mm/damon/paddr: minor refactor of
    damon_pa_mark_accessed_or_deactivate()

 mm/damon/paddr.c | 33 +++++++++++++--------------------
 1 file changed, 13 insertions(+), 20 deletions(-)