diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2014-12-12 16:55:30 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 12:42:47 -0800 |
commit | 9dc00f4c4fdd1fab12a4da9a966e535b4284b0a4 (patch) | |
tree | 6e6871cebe9412215e85709ce37181a1dea6e07d /drivers/base | |
parent | e1d6d01ab491bee6cfa02f2c10db50f31de85e79 (diff) |
iommu/amd: use handle_mm_fault directly
This could be useful for debug in the future if we want to track
major/minor faults more closely, and also avoids the put_page trick we
used with gup.
In order to do this, we also track the task struct in the PASID state
structure. This lets us update the appropriate task stats after the fault
has been handled, and may aid with debug in the future as well.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Oded Gabbay <oded.gabbay@amd.com>
Cc: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions