diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-05-19 14:50:30 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-05-27 18:33:46 +0200 |
commit | ba6851b45d2d5b07436d8fc43451bad354dc4884 (patch) | |
tree | 6aa8db1620d0a00e0ea4553f45c5f0b21e8f3c2d /mm/userfaultfd.c | |
parent | mm/shmem: fix infinite loop when swap in shmem error at swapoff time (diff) | |
download | linux-ba6851b45d2d5b07436d8fc43451bad354dc4884.tar.xz linux-ba6851b45d2d5b07436d8fc43451bad354dc4884.zip |
mm: filter out swapin error entry in shmem mapping
There might be swapin error entries in shmem mapping. Filter them out to
avoid "Bad swap file entry" complaint.
Link: https://lkml.kernel.org/r/20220519125030.21486-6-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: NeilBrown <neilb@suse.de>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions