Re: [PATCHv4 02/28] timens: Add timens_offsets
From: Dmitry Safonov
Date: Fri Jun 14 2019 - 10:36:56 EST
On 6/14/19 2:11 PM, Thomas Gleixner wrote:
> On Wed, 12 Jun 2019, Dmitry Safonov wrote:
>
>> From: Andrei Vagin <avagin@xxxxxxxxxx>
>>
>> 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?
Sure, makes sense.
Thanks,
Dmitry