diff options
| author | Dan Williams <[email protected]> | 2017-10-23 14:20:00 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2018-01-20 00:50:53 +0000 |
| commit | 785a3fab4adbf91b2189c928a59ae219c54ba95e (patch) | |
| tree | 7a3f3342c336eb99cbc7ddbe09741af78d7e99b2 /mm/sparse.c | |
| parent | mm: Fix devm_memremap_pages() collision handling (diff) | |
| download | kernel-785a3fab4adbf91b2189c928a59ae219c54ba95e.tar.gz kernel-785a3fab4adbf91b2189c928a59ae219c54ba95e.zip | |
mm, dax: introduce pfn_t_special()
In support of removing the VM_MIXEDMAP indication from DAX VMAs,
introduce pfn_t_special() for drivers to indicate that _PAGE_SPECIAL
should be used for DAX ptes. This also helps identify drivers like
dccssblk that only want to use DAX in a read-only fashion without
get_user_pages() support.
Ideally we could delete axonram and dcssblk DAX support, but if we need
to keep it better make it explicit that axonram and dcssblk only support
a sub-set of DAX due to missing _PAGE_DEVMAP support.
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions
