Hugh Dickins b698f0a177 mm/fs: delete PF_SWAPWRITE
PF_SWAPWRITE has been redundant since v3.2 commit ee72886d8ed5 ("mm:
vmscan: do not writeback filesystem pages in direct reclaim").

Coincidentally, NeilBrown's current patch "remove inode_congested()"
deletes may_write_to_inode(), which appeared to be the one function which
took notice of PF_SWAPWRITE.  But if you study the old logic, and the
conditions under which may_write_to_inode() was called, you discover that
flag and function have been pointless for a decade.

Link: https://lkml.kernel.org/r/75e80e7-742d-e3bd-531-614db8961e4@google.com
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: NeilBrown <neilb@suse.de>
Cc: Jan Kara <jack@suse.de>
Cc: "Darrick J. Wong" <djwong@kernel.org>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-03-22 15:57:08 -07:00
..
2022-03-22 15:57:08 -07:00
2022-01-15 16:30:29 +02:00
2021-10-22 16:00:31 -07:00
2021-09-02 09:21:27 -07:00
2021-06-21 10:05:51 -07:00
2022-01-11 14:26:55 -08:00
2021-12-04 08:58:53 -08:00
2022-01-12 15:46:11 -08:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-12-03 18:50:17 +01:00
2021-10-14 09:19:33 -07:00
2021-10-22 16:04:20 -07:00
2022-01-12 15:46:11 -08:00
2022-02-26 09:53:19 -08:00
2021-06-21 10:05:46 -07:00
2022-01-11 15:01:50 -08:00
2021-01-24 14:43:46 +01:00
2021-08-19 10:07:14 -07:00