[PATCH] Fix pageattr with mem=nopentium
This fixes a hang in change_page_attr() that occured with mem=nopentium. Make sure a non large page kernel mapping is handled correctly. Previously the page reference counter was handled incorrectly in this case. Also hardens change_page_attr against bogus addresses. You get an EINVAL now.
Showing
Please register or sign in to comment