Messages in this thread | | | Date | Thu, 16 Jul 2015 08:50:45 +0900 | From | Minchan Kim <> | Subject | Re: [PATCH 4/5] mm, madvise: use vma_is_anonymous() to check for anon VMA |
| |
On Mon, Jul 13, 2015 at 01:54:11PM +0300, Kirill A. Shutemov wrote: > !vma->vm_file is not reliable to detect anon VMA, because not all > drivers bother set it. Let's use vma_is_anonymous() instead. > > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> > Cc: Minchan Kim <minchan@kernel.org> Acked-by: Minchan Kim <minchan@kernel.org>
Thanks.
| |