Messages in this thread | | | Date | Thu, 6 Nov 2014 14:03:08 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH 1/2] mm: export find_extend_vma and handle_mm_fault for driver use |
| |
On Thu, Nov 06, 2014 at 10:51:02AM +0200, Oded Gabbay wrote: > Joerg, sorry for the dumb question but what do you mean by "task > accounting for page-faults"? Where is that code in IOMMUv2 driver > now?
Linux counts major and minor page-faults for each running task. For the IOMMUv2 driver this was done in the get_user_pages function, at least until I changed the task parameter to NULL. Currently there is no accounting for that in the IOMMUv2 driver.
Joerg
| |