Re: [PATCH] mm: Add is_migrate_cma_page

2016-07-19 Thread Kees Cook
On Tue, Jul 19, 2016 at 3:00 PM, Laura Abbott wrote: > Code such as hardened user copy[1] needs a way to tell if a > page is CMA or not. Add is_migrate_cma_page in a similar way > to is_migrate_isolate_page. > > [1]http://article.gmane.org/gmane.linux.kernel.mm/155238 > > Signed-off-by: Laura Abbo

[PATCH] mm: Add is_migrate_cma_page

2016-07-19 Thread Laura Abbott
Code such as hardened user copy[1] needs a way to tell if a page is CMA or not. Add is_migrate_cma_page in a similar way to is_migrate_isolate_page. [1]http://article.gmane.org/gmane.linux.kernel.mm/155238 Signed-off-by: Laura Abbott --- Here's an explicit patch, slightly different than what I p