summaryrefslogtreecommitdiff
path: root/lib/zlib_deflate
diff options
context:
space:
mode:
authorandrew.yang <andrew.yang@mediatek.com>2023-02-22 14:42:20 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-02-27 17:00:14 -0800
commit3f98c9a62c338bbe06a215c9491e6166ea39bf82 (patch)
treeba754c1605d61488e2534062e6249c920d0c3ed9 /lib/zlib_deflate
parent4c6759967826b87f56c73e0f1deb7b76379ccd23 (diff)
mm/damon/paddr: fix missing folio_put()
damon_get_folio() would always increase folio _refcount and folio_isolate_lru() would increase folio _refcount if the folio's lru flag is set. If an unevictable folio isolated successfully, there will be two more _refcount. The one from folio_isolate_lru() will be decreased in folio_puback_lru(), but the other one from damon_get_folio() will be left behind. This causes a pin page. Whatever the case, the _refcount from damon_get_folio() should be decreased. Link: https://lkml.kernel.org/r/20230222064223.6735-1-andrew.yang@mediatek.com Fixes: 57223ac29584 ("mm/damon/paddr: support the pageout scheme") Signed-off-by: andrew.yang <andrew.yang@mediatek.com> Reviewed-by: SeongJae Park <sj@kernel.org> Cc: <stable@vger.kernel.org> [5.16.x] Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/zlib_deflate')
0 files changed, 0 insertions, 0 deletions