Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-09 | Merge release-20200928.0-81-g6bbf66227 (automated) | gVisor bot | |
2020-10-09 | Reduce the cost of sysinfo(2). | Jamie Liu | |
- sysinfo(2) does not actually require a fine-grained breakdown of memory usage. Accordingly, instead of calling pgalloc.MemoryFile.UpdateUsage() to update the sentry's fine-grained memory accounting snapshot, just use pgalloc.MemoryFile.TotalUsage() (which is a single fstat(), and therefore far cheaper). - Use the number of threads in the root PID namespace (i.e. globally) rather than in the task's PID namespace for consistency with Linux (which just reads global variable nr_threads), and add a new method to kernel.PIDNamespace to allow this to be read directly from an underlying map rather than requiring the allocation and population of an intermediate slice. PiperOrigin-RevId: 336353100 | |||
2020-10-09 | Merge release-20200928.0-78-g743327817 (automated) | gVisor bot | |
2020-10-08 | Merge release-20200928.0-66-ga55bd73d4 (automated) | gVisor bot | |
2020-10-06 | Merge release-20200928.0-49-ga1df7f2ed (automated) | gVisor bot | |
2020-10-05 | Simplify nil assignment in kcov. | Dean Deng | |
PiperOrigin-RevId: 335548610 | |||
2020-10-03 | Merge release-20200921.0-107-ge0aaf40e3 (automated) | gVisor bot | |
2020-10-03 | Fix kcov enabling and disabling procedures. | Dean Deng | |
- When the KCOV_ENABLE_TRACE ioctl is called with the trace kind KCOV_TRACE_PC, the kcov mode should be set to KCOV_*MODE*_TRACE_PC. - When the owning task of kcov exits, the memory mapping should not be cleared so it can be used by other tasks. - Add more tests (also tested on native Linux kcov). PiperOrigin-RevId: 335202585 | |||
2020-10-02 | Merge release-20200921.0-102-g4f462b0ed (automated) | gVisor bot | |
2020-10-02 | Convert uses of the binary package in kernel to go-marshal. | Rahat Mahmood | |
PiperOrigin-RevId: 335077195 | |||
2020-09-30 | Merge release-20200921.0-74-g387501219 (automated) | gVisor bot | |
2020-09-29 | Replace remaining uses of reflection-based marshalling. | Rahat Mahmood | |
- Rewrite arch.Stack.{Push,Pop}. For the most part, stack now implements marshal.CopyContext and can be used as the target of marshal operations. Stack.Push had some extra logic for automatically null-terminating slices. This was only used for two specific types of slices, and is now handled explicitly. - Delete usermem.CopyObject{In,Out}. - Replace most remaining uses of the encoding/binary package with go-marshal. Most of these were using the binary package to compute the size of a struct, which go-marshal can directly replace. ~3 uses of the binary package remain. These aren't reasonably replaceable by go-marshal: for example one use is to construct the syscall trampoline for systrap. - Fill out remaining convenience wrappers in the primitive package. PiperOrigin-RevId: 334502375 | |||
2020-09-29 | Merge release-20200921.0-66-g7d64bc1fd (automated) | gVisor bot | |
2020-09-29 | Merge pull request #3875 from btw616:fix/issue-3874 | gVisor bot | |
PiperOrigin-RevId: 334428344 | |||
2020-09-27 | Merge release-20200921.0-53-g2a60f9229 (automated) | gVisor bot | |
2020-09-27 | Clean up kcov. | Dean Deng | |
Previously, we did not check the kcov mode when performing task work. As a result, disabling kcov did not do anything. Also avoid expensive atomic RMW when consuming coverage data. We don't need the swap if the value is already zero (which is most of the time), and it is ok if there are slight inconsistencies due to a race between coverage data generation (incrementing the value) and consumption (reading a nonzero value and writing zero). PiperOrigin-RevId: 334049207 | |||
2020-09-24 | Merge release-20200914.0-152-g0a7075f38 (automated) | gVisor bot | |
2020-09-24 | Add basic stateify annotations. | Adin Scannell | |
Updates #1663 PiperOrigin-RevId: 333539293 | |||
2020-09-24 | Fix socket record leak in VFS2 | Tiwei Bie | |
VFS2 socket record is not removed from the system-wide socket table when the socket is released, which will lead to a memory leak. This patch fixes this issue. Fixes: #3874 Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> | |||
2020-09-24 | Rename kernel.SocketEntry to kernel.SocketRecord | Tiwei Bie | |
SocketEntry can be confusing with the template types as the 'Entry' is usually used as a suffix for list element types, e.g. socketEntry in the same package. Suggested by Dean (@dean-deng). Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> | |||
2020-09-23 | Merge release-20200914.0-137-g99decaadd (automated) | gVisor bot | |
2020-09-23 | Merge release-20200914.0-136-gb54dbdfdc (automated) | gVisor bot | |
2020-09-22 | Handle EOF properly in splice/sendfile. | Dean Deng | |
Use HandleIOErrorVFS2 instead of custom error handling. PiperOrigin-RevId: 333227581 | |||
2020-09-23 | Merge release-20200914.0-135-gc0f21bb19 (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-134-gcf3cef117 (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-133-g20dc83c9e (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-132-g778c36717 (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-131-g6e5ea605f (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-130-g13a9a622e (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-129-gf134f873f (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-128-g742e58b87 (automated) | gVisor bot | |
2020-09-21 | Merge release-20200914.0-127-g059d90b9f (automated) | gVisor bot | |
2020-09-21 | Merge release-20200914.0-125-g06dbd5b7b (automated) | gVisor bot | |
2020-09-21 | Merge release-20200914.0-124-g10dcefbc7 (automated) | gVisor bot | |
2020-09-21 | Merge release-20200914.0-123-ga129204cf (automated) | gVisor bot | |
2020-09-21 | Merge release-20200914.0-122-gd72022373 (automated) | gVisor bot | |
2020-09-21 | Merge release-20200907.0-159-ge09d78f01 (automated) | gVisor bot | |
2020-09-21 | Merge release-20200907.0-158-g5ce588295 (automated) | gVisor bot | |
2020-09-21 | Merge release-20200907.0-157-gca3087472 (automated) | gVisor bot | |
2020-09-19 | Merge release-20200907.0-154-g916751039 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-153-g4ba86e625 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-151-g6c9989cb8 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-150-gc23e39f41 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-149-gb8ba0893e (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-148-gca4ecf481 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-147-gf911b43f0 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-146-gddf37cb19 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-145-gbd69afdcd (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-144-gdedef4392 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-142-gfcf8d7c6d (automated) | gVisor bot | |