Messages in this thread | | | Date | Thu, 25 Oct 2012 15:19:27 +0000 | From | Christoph Lameter <> | Subject | Re: [RFC] Support volatile range for anon vma |
| |
On Thu, 25 Oct 2012, Minchan Kim wrote:
> #endif > + /* > + * True if page in this vma is reclaimed.
What does that mean? All pages in the vma have been cleared out?
> + TTU_IGNORE_VOLATILE = (1 << 11),/* ignore volatile */ > }; > #define TTU_ACTION(x) ((x) & TTU_ACTION_MASK) > > int try_to_unmap(struct page *, enum ttu_flags flags); > int try_to_unmap_one(struct page *, struct vm_area_struct *, > - unsigned long address, enum ttu_flags flags); > + unsigned long address, enum ttu_flags flags, > + bool *is_volatile);
You already pass a vma pointer in. Why do you need to pass a volatile flag in? Looks like unecessary churn.
| |