diff options
| author | Sri Krishna chowdary <schowdary@nvidia.com> | 2014-04-12 00:30:39 -0400 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:07 -0400 |
| commit | 28eddd0fac30e3adc2f1d49d101f512031da01c2 (patch) | |
| tree | 980f53cf2762d4cbaf9e59a55f209f7cc723df3e /include/linux | |
| parent | 7a7b1f259cb18e4e9d32dfb6cabe4d6c83318404 (diff) | |
video: tegra: nvmap: Define cpu dirty pages count
Add ndirty field in struct nvmap_pages to count of cpu dirty pages
in pgalloc.pages, in particular the user space accessed pages.
Defined as atomic_t to take care of any race conditions.
This can help skip cache maint on handles which do not have any dirty pages.
Bug 1444151
Change-Id: Id12e94b9aac071f2c92da74e2171866362442d57
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/383794
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
