From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D88AC31E4B for ; Fri, 14 Jun 2019 13:11:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C00720850 for ; Fri, 14 Jun 2019 13:11:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728031AbfFNNLz (ORCPT ); Fri, 14 Jun 2019 09:11:55 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:37935 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726874AbfFNNLz (ORCPT ); Fri, 14 Jun 2019 09:11:55 -0400 Received: from [5.158.153.52] (helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hblzH-0004bK-1S; Fri, 14 Jun 2019 15:11:23 +0200 Date: Fri, 14 Jun 2019 15:11:22 +0200 (CEST) From: Thomas Gleixner To: Dmitry Safonov cc: linux-kernel@vger.kernel.org, Andrei Vagin , Adrian Reber , Andy Lutomirski , Arnd Bergmann , Christian Brauner , Cyrill Gorcunov , Dmitry Safonov <0x7f454c46@gmail.com>, "Eric W. Biederman" , "H. Peter Anvin" , Ingo Molnar , Jann Horn , Jeff Dike , Oleg Nesterov , Pavel Emelyanov , Shuah Khan , Vincenzo Frascino , containers@lists.linux-foundation.org, criu@openvz.org, linux-api@vger.kernel.org, x86@kernel.org Subject: Re: [PATCHv4 02/28] timens: Add timens_offsets In-Reply-To: <20190612192628.23797-3-dima@arista.com> Message-ID: References: <20190612192628.23797-1-dima@arista.com> <20190612192628.23797-3-dima@arista.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Jun 2019, Dmitry Safonov wrote: > From: Andrei Vagin > > 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