summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJérôme Glisse <jglisse@redhat.com>2015-04-01 14:10:18 -0400
committerJérôme Glisse <jglisse@redhat.com>2015-07-17 09:21:44 -0400
commit1a10b3266b1ce108e8a72c8b55bf3dfcc17ea471 (patch)
tree741f965c138c1826752867150c8650bf014ba299 /net
parent34a57a966018f2282ce670f975250180bf0f5839 (diff)
HMM: add discard range helper (to clear and free resources for a range).
A common use case is for device driver to stop caring for a range of address long before said range is munmapped by userspace program. To avoid keeping track of such range provide an helper function that will free HMM resources for a range of address. NOTE THAT DEVICE DRIVER MUST MAKE SURE THE HARDWARE WILL NO LONGER ACCESS THE RANGE BECAUSE CALLING THIS HELPER ! Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions