summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2014-04-12 00:30:39 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:07 -0400
commit28eddd0fac30e3adc2f1d49d101f512031da01c2 (patch)
tree980f53cf2762d4cbaf9e59a55f209f7cc723df3e /include/linux
parent7a7b1f259cb18e4e9d32dfb6cabe4d6c83318404 (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