[PATCH v3 0/3] mm/damon/paddr: minor code improvement

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

 



Unify folio_put() to make code more clear, and also fix minor issue in
damon_pa_young().

v3: 
- as SJ split the bugfix from v2, and it has merged[1], only do code
  improvement
- fix a missing folio_sz update in damon_pa_young()
- add RB from SJ
- rebase on next-20230308

[1] https://lkml.kernel.org/r/20230304193949.296391-1-sj@xxxxxxxxxx

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_mark_accessed_or_deactivate()
  mm/damon/paddr: fix missing folio_sz update in damon_pa_young()

 mm/damon/paddr.c | 26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

-- 
2.35.3





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux