Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp525872ybh; Wed, 18 Mar 2020 04:29:02 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsjjYJBAUx9+u8huhtQG3U8xe8RIiO34pfSYF9X9MUAxZinj3z/WcmCkYU7jGJOfgLUVH/u X-Received: by 2002:aca:bd0b:: with SMTP id n11mr2633727oif.90.1584530942005; Wed, 18 Mar 2020 04:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584530941; cv=none; d=google.com; s=arc-20160816; b=nvA7ck8G63wTwd9Gvh27b9S4DTSEHL967XqG6OJmLiBTVoioy3pnzGP6m619DmSCfh gUPp9YHHIQPJEDo5up6nn5VtBoRRqzRrV4qQxtS33h9x3wANiz/hZ/ViyLehVXUfGn6b 7lsnn1fEfuUxPhydqs5JWSG5xrkDQdfAs1kjrt2lv89s8e6CiOYQu7Ywlg3BkJQorCMW yiOtGEVeWEjQV/cwNrBrML8m8jbF5OaLVXvMWMpQI3DdDtwXC4eK/yNs98XXw2viBern TeMqpA/V6ln1ZUkayCzcUhepVtF5kEn1xrXU5ccG1n7C5CTB8RBh8ju53VgyNCiGiVi+ XhiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cLYM/R1h5w+GOcuz5jjEq4Hd85OEJopjKNWmXG+H+90=; b=jCHmtN9CN8GYOCWJW+LiIoxvb8pqmo7VXEVlksOdd+hwnob1K3LnTkt41aDwPNa66N q4lPJ6MusO4tPOUOb9MIxEjVpx87Y+04fi3G6tVar9zREgH8MPP/WEg3zr0hZUmARvxC cTR8fK9Qf7231Y5bauYSJOxxGtB29yln08E8CGG4/qvFCRoYwd1MQLjqBMRhBLbpjUz7 0Kpeatl/IIu04NjJdXJZUIVmgcMFEHews0afqsqcSe8s6baoR/uEbkVIzmHZkdpSqiV0 skUfOoWMoYQUtenrzOfD4uVDzwWs8i7lCqOXfzfYZUSnDIVsG0rhyu6OoLnwpQtiuW2e ZW0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qPW0uolj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9si3014166ota.103.2020.03.18.04.28.49; Wed, 18 Mar 2020 04:29:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qPW0uolj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727687AbgCRL2T (ORCPT + 99 others); Wed, 18 Mar 2020 07:28:19 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:43371 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbgCRL2S (ORCPT ); Wed, 18 Mar 2020 07:28:18 -0400 Received: by mail-lf1-f66.google.com with SMTP id n20so16683404lfl.10 for ; Wed, 18 Mar 2020 04:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cLYM/R1h5w+GOcuz5jjEq4Hd85OEJopjKNWmXG+H+90=; b=qPW0uolji+yS7Bzq20Ze8HcuQ19IaLRQF0ojLqmOLWKSWylxMy17nOqu8GwWza0NjL p1p5AuLsCF3m7sMDHnKMQPLrm79vzb2G3ZbMjPOkizmDHN5W0Fd1NgVuTvDU9PxyyKtV Zw7sV8Y6EwV3n7skiV350VrhR1oNJAaAdCtOFQ+nT7IhJXVrOEgloLW9EP5Autfa0Ux9 S4zLKzuLPDOx4VXbYUa/Vopp/g4QraHUchE9/29SmKJ5ho5mjGY3gV3qEf/HcPhbiTpg qL/AOVrjsSQrNxhpvj652VTTY2B72nu3TJVFKR7fMiE76WGPciCV4y7bdXPCIzcQETbT 9asg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cLYM/R1h5w+GOcuz5jjEq4Hd85OEJopjKNWmXG+H+90=; b=oYkUijVzOYAfLxtZjxMrYBdpOiYQx1hpSSKlJ1d1mLxGcI6EtqPJGo6EfmmGzpuASd NuvMFnax755Rgspj1HdpluEP/SAxluz+M3R3eiU5QyH1+gJYsL0taYE2qauB4BrPuy7B 3Gp28UtC3EEzUWC7by5q2RlHd1ufeI2FBea4IPT3XmkrXvL+FpW4IaWiWgvBalH6VU0T cD1iRE4ZoMAWstHKl9ue4ArH7wqwwwplhw/xz6sefZQYlxaI66/JZvo5aviKrm+KVY/v 5GcsoziBQHRrURqbULiJFHRymwx91fbsFGv/HV1sdrTzbA+vD24qqRpkzvqjWLvQVIuf z4xA== X-Gm-Message-State: ANhLgQ213OgZdQtomkTpX8x2yO2YoM42Ae3ZVtQ8xDS1NOIWTst2qAaj MlCX1v+9CqXXap1hA/+m/yw= X-Received: by 2002:a19:6e0f:: with SMTP id j15mr2648989lfc.76.1584530896236; Wed, 18 Mar 2020 04:28:16 -0700 (PDT) Received: from uranus.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id f8sm4379449lfc.10.2020.03.18.04.28.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 04:28:14 -0700 (PDT) Received: by uranus.localdomain (Postfix, from userid 1000) id 87C14461840; Wed, 18 Mar 2020 14:28:14 +0300 (MSK) Date: Wed, 18 Mar 2020 14:28:14 +0300 From: Cyrill Gorcunov To: Christian Brauner Cc: Adrian Reber , Eric Biederman , Pavel Emelyanov , Oleg Nesterov , Dmitry Safonov <0x7f454c46@gmail.com>, Andrei Vagin , linux-kernel@vger.kernel.org, Mike Rapoport , Radostin Stoyanov , Michael Kerrisk , Arnd Bergmann , Thomas Gleixner Subject: Re: [PATCH 1/4] ns: prepare time namespace for clone3() Message-ID: <20200318112814.GQ27301@uranus> References: <20200317083043.226593-1-areber@redhat.com> <20200317083043.226593-2-areber@redhat.com> <20200318105747.GP27301@uranus> <20200318111726.u2r3ghymexyng5nn@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200318111726.u2r3ghymexyng5nn@wittgenstein> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 18, 2020 at 12:17:26PM +0100, Christian Brauner wrote: > On Wed, Mar 18, 2020 at 01:57:47PM +0300, Cyrill Gorcunov wrote: > > On Tue, Mar 17, 2020 at 09:30:41AM +0100, Adrian Reber wrote: > > ... > > > +/* > > > + * This structure is used to set the time namespace offset > > > + * via /proc as well as via clone3(). > > > + */ > > > +struct set_timens_offset { > > > + int clockid; > > > + struct timespec64 val; > > > +}; > > > + > > > > I'm sorry, I didn't follow this series much so can't comment right now. > > Still this structure made me a bit wonder -- the @val seems to be 8 byte > > aligned and I guess we have a useless pad between these members. If so > > can we swap them? Or it is already part of api? > > It's not part of the api yet. We're still arguing about how and what we > want to pass down. I see, thanks for info! So I think we could swap the members.