[RFC 02/20] timens: Add timens_offsets

Cyrill Gorcunov gorcunov at gmail.com
Thu Sep 20 18:45:10 UTC 2018


On Wed, Sep 19, 2018 at 09:50:19PM +0100, Dmitry Safonov wrote:
> From: Andrei Vagin <avagin at openvz.org>
> 
> 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 :)


More information about the Containers mailing list