diff options
author | Dan Williams <[email protected]> | 2018-04-19 21:32:19 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2018-05-22 07:19:08 -0700 |
commit | a9b6de77b1a3ff729f7bfc54b2e17711776a416c (patch) | |
tree | abf94e003816c5c99bb5792a8e636905a44ad48e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e7638488434415aa478e78435cac8f0365737638 (diff) |
mm: fix __gup_device_huge vs unmap
get_user_pages_fast() for device pages is missing the typical validation
that all page references have been taken while the mapping was valid.
Without this validation truncate operations can not reliably coordinate
against new page reference events like O_DIRECT.
Cc: <[email protected]>
Fixes: 3565fce3a659 ("mm, x86: get_user_pages() for dax mappings")
Reported-by: Jan Kara <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions