[PATCHv4 02/28] timens: Add timens_offsets

Thomas Gleixner tglx at linutronix.de
Fri Jun 14 13:11:22 UTC 2019


On Wed, 12 Jun 2019, Dmitry Safonov wrote:

> From: Andrei Vagin <avagin at openvz.org>
> 
> Introduce offsets for time namespace. They will contain an adjustment
> needed to convert clocks to/from host's.
> 
> Allocate one page for each time namespace that will be premapped into
> userspace among vvar pages.
> index 000000000000..7d7cb68ea778
> --- /dev/null
> +++ b/include/linux/timens_offsets.h
> @@ -0,0 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +#ifndef _LINUX_TIME_OFFSETS_H
> +#define _LINUX_TIME_OFFSETS_H
> +
> +struct timens_offsets {
> +};

That empty struct which is nowhere used looks odd. Can you move that to the
patch which actually makes use of it?

Thanks,

	tglx


More information about the Containers mailing list