[PATCH] Fix copy_page_range()'s handling of invalid pages
Patch from Xavier Bru <Xavier.Bru@bull.net> If copy_page_range encounters a pte which maps an invalid pageframe it will proceed to try to add an rmap entry against that page. This causes oopses when an application which has mapped an IO device via /dev/mem forks. Fix that up by correctly skipping the page_add_rmap() for these pte's.
Showing
Please register or sign in to comment