[CRIU] [PATCHv6 02/36] timens: Add timens_offsets

Thomas Gleixner tglx at linutronix.de
Thu Aug 15 20:21:32 MSK 2019


On Thu, 15 Aug 2019, Dmitry Safonov wrote:
> +	page = alloc_page(GFP_KERNEL | __GFP_ZERO);
> +	if (!page)
> +		goto fail_free;
> +	ns->offsets = page_address(page);
> +	if (old_ns->offsets)
> +		memcpy(ns->offsets, old_ns->offsets, sizeof(struct timens_offsets));

sizeof(*ns->offsets)

Thanks,

	tglx


More information about the CRIU mailing list