On torstaina 24. joulukuuta 2015 11.54.09 EET, Laurent Vivier wrote:
Le 24/12/2015 02:07, [email protected] a écrit :
From: Chen Gang <[email protected]>
In this case, real_end is larger than end, which may cause mmap_frag
process the incorrect memory region.
Signed-off-by: Chen Gang <[email protected]>
--- ...
The fragment must effectively be mapped only to "end" not to "real_end"
(which is a host page aligned address, and thus this is not a fragment).
It is consistent with what it is done in the case of one single page.
Reviewed-by: Laurent Vivier <[email protected]>
Applied with changing the patch comment to Laurent's explanation.
Riku