Re: [PATCH 1/2] x86,mem-hotplug: pass sync_global_pgds() a correct argument in remove_pagetable()

From: Yasuaki Ishimatsu
Date: Mon Jun 23 2014 - 20:34:39 EST


(2014/06/21 3:27), Toshi Kani wrote:
On Wed, 2014-06-18 at 15:37 +0900, Yasuaki Ishimatsu wrote:
remove_pagetable() gets start argument and passes the argument to
sync_global_pgds(). In this case, the argument must not be modified.
If the argument is modified and passed to sync_global_pgds(),
sync_global_pgds() does not correctly synchronize PGD to PGD entries
of all processes MM since synchronized range of memory [start, end]
is wrong.

Unfortunately the start argument is modified in remove_pagetable().
So this patch fixes the issue.

Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@xxxxxxxxxxxxxx>


Acked-by: Toshi Kani <toshi.kani@xxxxxx>

Thank you for your review.

Thanks,
Yasuak Ishimatsu


Thanks,
-Toshi




--
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/