[CRIU] [PATCH 10/10] common: Move page.h in

Cyrill Gorcunov gorcunov at gmail.com
Tue Oct 25 01:43:36 PDT 2016


On Mon, Oct 24, 2016 at 02:58:10PM +0300, Cyrill Gorcunov wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

Pavel, page.h rather should be exported by compel, because

static inline unsigned long task_size(void)
{
	unsigned long task_size;

	for (task_size = TASK_SIZE_MIN; task_size < TASK_SIZE_MAX; task_size += SZ_1G)
		if (munmap((void *)task_size, page_size()))
			break;

	return task_size;
}

and the task_size is exported via uapi/compel/asm/types.h. So drop this
particular patch please. I'll move page.h into compel, as it were before.


More information about the CRIU mailing list