diff options
author | Jason Gunthorpe <[email protected]> | 2019-05-23 11:40:24 -0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-06-24 17:38:18 -0300 |
commit | 2dcc3eb8ab50c9ca816cc60abfd94bea559d3e86 (patch) | |
tree | f993a20fd2e73d85bbb61d1ba118eac9ae5410f5 /scripts/gen_compile_commands.py | |
parent | 187229c2ddd12a5bb5cd6bb3fbef9ecbc6eead92 (diff) |
mm/hmm: Poison hmm_range during unregister
Trying to misuse a range outside its lifetime is a kernel bug. Use poison
bytes to help detect this condition. Double unregister will reliably crash.
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Jérôme Glisse <[email protected]>
Reviewed-by: John Hubbard <[email protected]>
Acked-by: Souptick Joarder <[email protected]>
Reviewed-by: Ralph Campbell <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Tested-by: Philip Yang <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions