On 29/08/2014 22:10, j.gli...@gmail.com wrote: > + * - MMU_MUNMAP: the range is being unmapped (outcome of a munmap syscall or > + * process destruction). However, access is still allowed, up until the > + * invalidate_range_free_pages callback. This also implies that secondary > + * page table can be trimmed, because the address range is no longer valid.
I couldn't find the invalidate_range_free_pages callback. Is that a left over from a previous version of the patch? Also, I think that you have to invalidate the secondary PTEs of the range being unmapped immediately, because put_page may be called immediately after the invalidate_range_start returns. Haggai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/