Hugh Dickins
2f33a70602
mm,thp: stop leaking unreleased file pages
...
When collapse_file() calls try_to_release_page(), it has already isolated
the page: so if releasing buffers happens to fail (as it sometimes does),
remember to putback_lru_page(): otherwise that page is left unreclaimable
and unfreeable, and the file extent uncollapsible.
Fixes: 99cb0dbd47a1 ("mm,thp: add read-only THP support for (non-shmem) FS")
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: <stable@vger.kernel.org> [5.4+]
Link: http://lkml.kernel.org/r/alpine.LSU.2.11.2005231837500.1766@eggly.anvils
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-05-28 11:35:40 -07:00
..
2020-05-23 10:26:31 -07:00
2020-05-09 16:07:57 -06:00
2019-09-04 07:42:01 -04:00
2019-07-12 12:24:03 -07:00
2019-12-01 12:59:09 -08:00
2020-04-10 15:36:21 -07:00
2020-04-07 10:43:41 -07:00
2020-04-02 09:35:27 -07:00
2020-04-07 10:43:42 -07:00
2020-01-31 10:30:38 -08:00
2019-08-30 22:43:58 -07:00
2019-07-12 11:05:43 -07:00
2020-04-07 10:43:41 -07:00
2019-09-25 17:51:41 -07:00
2019-06-19 17:09:52 +02:00
2020-04-02 09:35:27 -07:00
2020-05-14 10:00:35 -07:00
2019-12-10 10:12:55 +01:00
2020-03-30 16:58:36 -03:00
2020-04-07 10:43:39 -07:00
2020-04-07 10:43:41 -07:00
2020-04-21 11:11:55 -07:00
2019-12-01 12:59:09 -08:00
2019-10-19 06:32:32 -04:00
2020-04-07 10:43:38 -07:00
2019-06-19 17:09:08 +02:00
2020-04-08 21:03:40 -07:00
2020-02-04 03:05:25 +00:00
2020-05-28 11:35:40 -07:00
2019-06-05 17:37:06 +02:00
2020-04-02 09:35:26 -07:00
2020-04-21 11:11:55 -07:00
2020-04-07 10:43:41 -07:00
2019-11-02 12:39:12 -07:00
2020-04-24 13:28:03 -07:00
2020-04-07 10:43:38 -07:00
2020-04-02 09:35:29 -07:00
2020-04-10 15:36:21 -07:00
2020-05-07 19:27:20 -07:00
2019-09-24 15:54:08 -07:00
2020-04-10 15:36:21 -07:00
2020-04-07 10:43:38 -07:00
2020-04-10 15:36:21 -07:00
2020-04-08 21:03:40 -07:00
2019-03-05 21:07:20 -08:00
2020-04-10 15:36:21 -07:00
2020-04-07 10:43:39 -07:00
2020-02-04 03:05:25 +00:00
2019-09-25 17:51:41 -07:00
2020-04-07 10:43:41 -07:00
2020-04-10 15:36:21 -07:00
2020-02-04 03:05:26 +00:00
2020-03-21 18:56:06 -07:00
2020-04-10 15:36:21 -07:00
2020-05-14 10:00:35 -07:00
2019-09-25 17:51:41 -07:00
2020-03-21 18:56:06 -07:00
2020-01-31 10:30:38 -08:00
2020-05-07 19:27:21 -07:00
2020-04-02 09:35:29 -07:00
2020-04-07 10:43:40 -07:00
2019-06-29 16:43:45 +08:00
2020-02-03 08:05:37 -05:00
2020-04-07 10:43:38 -07:00
2019-10-19 06:32:31 -04:00
2019-09-24 15:54:08 -07:00
2020-04-07 10:43:39 -07:00
2020-04-07 10:43:38 -07:00
2020-01-31 10:30:38 -08:00
2020-04-02 09:35:27 -07:00
2020-02-04 03:05:25 +00:00
2019-03-13 12:25:31 -07:00
2019-06-05 17:37:16 +02:00
2020-04-01 10:09:12 -07:00
2019-06-05 17:37:16 +02:00
2020-05-07 19:27:21 -07:00
2019-12-01 06:29:19 -08:00
2020-03-25 10:04:01 -05:00
2020-02-04 03:05:25 +00:00
2019-05-21 10:50:45 +02:00
2020-04-07 10:43:41 -07:00
2019-06-05 17:37:17 +02:00
2020-04-21 11:11:56 -07:00
2020-04-07 10:43:38 -07:00
2020-04-07 10:43:38 -07:00
2020-04-10 15:36:20 -07:00
2020-01-13 18:19:02 -08:00
2020-04-02 09:35:28 -07:00
2019-10-07 15:47:20 -07:00
2020-05-07 19:27:20 -07:00
2019-07-18 17:08:07 -07:00
2020-04-07 10:43:40 -07:00
2020-04-02 09:35:27 -07:00
2020-04-02 09:35:28 -07:00
2020-04-07 10:43:41 -07:00
2020-04-07 10:43:42 -07:00
2019-10-19 06:32:33 -04:00
2019-09-17 15:20:17 -07:00
2020-04-07 10:43:39 -07:00
2019-12-01 06:29:19 -08:00
2018-09-13 15:18:04 -10:00
2020-04-21 11:11:56 -07:00
2020-04-02 09:35:31 -07:00
2020-05-07 19:27:21 -07:00
2020-04-07 10:43:38 -07:00
2019-12-01 12:59:07 -08:00
2020-05-28 11:35:40 -07:00
2019-05-21 10:50:45 +02:00
2019-09-24 15:54:12 -07:00
2020-04-07 10:43:41 -07:00
2020-04-07 10:43:41 -07:00