Re: [PATCH 07/10] mbind: add hugepage migration code to mbind()

From: KOSAKI Motohiro
Date: Fri Apr 05 2013 - 18:18:11 EST


> @@ -1277,14 +1279,10 @@ static long do_mbind(unsigned long start, unsigned long len,
> if (!err) {
> int nr_failed = 0;
>
> - if (!list_empty(&pagelist)) {
> - WARN_ON_ONCE(flags & MPOL_MF_LAZY);
> - nr_failed = migrate_pages(&pagelist, new_vma_page,
> + WARN_ON_ONCE(flags & MPOL_MF_LAZY);

???
MPOL_MF_LAZY always output warn? It seems really insane.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/