Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2354371imm; Thu, 20 Sep 2018 11:45:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZXAoeJ1/D5O/FNhM4x49DgoHh1OUfYyMtWYzJAOtGYJkKK2dwr4mZzhzjZKL/nWi2z7eKN X-Received: by 2002:a63:4d21:: with SMTP id a33-v6mr38122804pgb.408.1537469135148; Thu, 20 Sep 2018 11:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537469135; cv=none; d=google.com; s=arc-20160816; b=J/yBQ2t8MrXALdhki6SC+9Ohe/msKcXMfhjtF6nX6DLeDLOGuHoBaJwVgtcRahlpHi pACfUs/uta5YAbU2ZTVeaNZwLbnMkSbOom0uSEki1Gvg0Yis9+69gfPLbA5PNKm+LImg 9sXlULUpgqqtGB19gKoowydKqlXPAbsmaiHUS2T/S0CONmPR6UzL6KVc7Nx/Iqp96d4Q 2zDkdzBrcfuRT7cTNTd8VeiQLYR9ofN3I6i4ICYRxBcCIeQ0pHxmRdTdzeJkwQoKr1M1 bffNZxCS8mUYNkI3VoYz/afQLaCU8MuG9m5GabTCJyhkI09/g/kU5oSWN+6EkjlHiqJo eypA== 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=2ulDKblaPWWY8DPb+24wHflg2KDWL8q/0jFvyU7lySk=; b=JIKHEhHP6otIjjUsXuCzrQDM+OsR+84YexpghWxgoXVEi6ySYjP1+NskRNcXwK3Shu E3MmSHFbOe85BK0EydR+Wr+GArX82+ZgZNF1g+cUBWKNDzFw+WfUt3pMrlvHXcIJ1LZa TjMpiQ1fwW7akKikLhDVAOEI1PU7mxYACnEUav5fonPRRu4GfxHaJUh5WOH6+/ZmvfWb Jbk8kQ5awoAA/6iaUKgD1+0fA8q2TWP3LrurcJqg5kOpqotOOoR2N8HJVwy6gfTCkrJa zumzaTGtuGg1jwD8GyqI3vTAIMG/jyLQ+KOCDpS3RUOe5QdLXi1xWxH+/q8myO8Ix4zO SUTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JbZAeze5; 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 x32-v6si24577299pld.356.2018.09.20.11.45.19; Thu, 20 Sep 2018 11:45:35 -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=JbZAeze5; 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 S2387930AbeIUAaE (ORCPT + 99 others); Thu, 20 Sep 2018 20:30:04 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35263 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726827AbeIUAaE (ORCPT ); Thu, 20 Sep 2018 20:30:04 -0400 Received: by mail-lj1-f196.google.com with SMTP id p10-v6so9360881ljg.2; Thu, 20 Sep 2018 11:45:13 -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=2ulDKblaPWWY8DPb+24wHflg2KDWL8q/0jFvyU7lySk=; b=JbZAeze5NNz+INoVjfgrubrPDO5vb7l7Z5vn1HyoraJAvH24WuNwGb9qOrQ54gUKR1 2HKk6tcaXJczuC/QQAGd1b8O/biu7XAStt2F7EJQB455as17ev1lmKzTRWUlq2Y1zKO6 ieJgI0dNbzmwnxTkxTSORLvWB0ZUL5+bYetZpvMx/oUmoiUFiiWPdjTQaLIYRW29Hd1I JfXm3+jkIJmv/Buz2sgwUpiQcGzkktxHcWDujw/1r+BPCzrtS/ieWtdZP8G9aTXp807F YwBIataGLBbpn21BuFPjKkPOV+pMX69HkK19HFIonGgOT4Q9uVwKMKluYEPNuRXazyQT shkw== 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=2ulDKblaPWWY8DPb+24wHflg2KDWL8q/0jFvyU7lySk=; b=maSyPC8Sb7v8Gs9Ir0oIfiXUzsU3PBQuAE7vLkAsTQigmeXRU/zWjy5I75asNWGlbD znVYYqTXNE2+sqRASGUz9PPO+qD4CeCLQQhnHZATTp8ywGl5DqSJiyRvYPbSlHMWR3mJ eRX9sCu83qtjUwKU1F91VzKAfxUiuqHPjssmE/+TjsbkdCEZl/hiMVI/ArW2qMuTw4oP GKoFU4zNijkrk/kHRgbaHu4yK0AQ3yu80kagl5w68WW+8NEQ9q8Qddx0CVF4JCr767Ia e6PkELfP+uuIho4HBFGJTUiqPXPS+GhHz5ZFF9nBHh8FfCQ/TWa2xbl97x/OmMYbCGE9 WkZw== X-Gm-Message-State: APzg51CVAeUiPc7ajad4Slnl/aOLr6kW1bo+0JBM6skftgIlOFMDVIx0 4lwUd5tKA6ZoRLQUDbA9yxU= X-Received: by 2002:a2e:9ec9:: with SMTP id h9-v6mr19987321ljk.133.1537469112123; Thu, 20 Sep 2018 11:45:12 -0700 (PDT) Received: from uranus.localdomain ([5.18.102.224]) by smtp.gmail.com with ESMTPSA id q73-v6sm1871066lfi.86.2018.09.20.11.45.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Sep 2018 11:45:10 -0700 (PDT) Received: by uranus.localdomain (Postfix, from userid 1000) id 309F1460674; Thu, 20 Sep 2018 21:45:10 +0300 (MSK) Date: Thu, 20 Sep 2018 21:45:10 +0300 From: Cyrill Gorcunov To: Dmitry Safonov Cc: linux-kernel@vger.kernel.org, Dmitry Safonov <0x7f454c46@gmail.com>, Andrei Vagin , Adrian Reber , Andy Lutomirski , Christian Brauner , "Eric W. Biederman" , "H. Peter Anvin" , Ingo Molnar , Jeff Dike , Oleg Nesterov , Pavel Emelyanov , Shuah Khan , Thomas Gleixner , containers@lists.linux-foundation.org, criu@openvz.org, linux-api@vger.kernel.org, x86@kernel.org Subject: Re: [RFC 02/20] timens: Add timens_offsets Message-ID: <20180920184510.GC20786@uranus> References: <20180919205037.9574-1-dima@arista.com> <20180919205037.9574-3-dima@arista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180919205037.9574-3-dima@arista.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 19, 2018 at 09:50:19PM +0100, Dmitry Safonov wrote: > From: Andrei Vagin > > Introduce offsets for time namespace. They will contain adjustment > needed to convert clocks to/from host's. > > Allocate one page for each time namespace that will be premapped into > userspace with vvar pages. Is not it too much?! The whole page per each clone(new-time-ns) call. Moreover everytime it is get explicitly zeroifyed. Don't get me wrong, maybe I miss something obvious, but additional 4K per process, guys :)