diff options
author | Hugh Dickins <hughd@google.com> | 2022-03-23 00:45:38 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-23 01:57:08 +0300 |
commit | b698f0a1773f7df73f2bb4bfe0e597ea1bb3881f (patch) | |
tree | efa873316ce6d0cbad75cf31821540baeb58efed /Documentation/hwmon/smsc47m1.rst | |
parent | d794103d52739f8e27b69c4895dbf5a5a7a805cc (diff) | |
download | linux-b698f0a1773f7df73f2bb4bfe0e597ea1bb3881f.tar.xz |
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>
Diffstat (limited to 'Documentation/hwmon/smsc47m1.rst')
0 files changed, 0 insertions, 0 deletions