diff options
author | Matthew Wilcox (Oracle) | 2021-05-04 18:32:51 -0700 |
---|---|---|
committer | Linus Torvalds | 2021-05-05 11:27:19 -0700 |
commit | 7f0e07fb0289519af7e726e4f7b7118f7ecc979b (patch) | |
tree | 9d7a7a9b90996f8fde414ef87b8a0ccf03b17bc8 /include/linux/sram.h | |
parent | 46be67b424efab933562a29ea8f1df0c20aa9959 (diff) |
dax: account DAX entries as nrpages
Simplify mapping_needs_writeback() by accounting DAX entries as pages
instead of exceptional entries.
Link: https://lkml.kernel.org/r/20201026151849.24232-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: Vishal Verma <vishal.l.verma@intel.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sram.h')
0 files changed, 0 insertions, 0 deletions