Re: [PATCH 1/1] mm: implement ->map_pages for shmem/tmpfs

From: Kirill A. Shutemov
Date: Mon Mar 03 2014 - 06:08:00 EST


Ning Qu wrote:
> Btw, should we first check if page returned by radix_tree_deref_slot is NULL?

Yes, we should. I don't know how I missed that. :(

The patch below should address both issues.