Re: Per container uptime?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 Apr 2017 16:34:17 +0200, Fran?ois said:
> Do you think it makes sense at all?

The bigger question is whether there's stuff that runs in a container that
wants the system uptime, which would break under this API change.

> Any hint on how to get started on that?

It's trivial - note the uptime at container creation, stash the value
in the container struct, and subtract when an uptime request happens.

Attachment: pgpBeHZEAJGGE.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux