Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-12 | Merge release-20200928.0-94-ge7bbe70f7 (automated) | gVisor bot | |
2020-10-12 | [vfs] kernfs: Fix inode memory leak issue. | Ayush Ranjan | |
This change aims to fix the memory leak issue reported inĀ #3933. Background: VFS2 kernfs kept accumulating invalid dentries if those dentries were not walked on. After substantial consideration of the problem by our team, we decided to have an LRU cache solution. This change is the first part to that solution, where we don't cache anything. The LRU cache can be added on top of this. What has changed: - Introduced the concept of an inode tree in kernfs.OrderedChildren. This is helpful is cases where the lifecycle of an inode is different from that of a dentry. - OrderedChildren now deals with initialized inodes instead of initialized dentries. It now implements Lookup() where it constructs a new dentry using the inode. - OrderedChildren holds a ref on all its children inodes. With this change, now an inode can "outlive" a dentry pointing to it. See comments in kernfs.OrderedChildren. - The kernfs dentry tree is solely maintained by kernfs only. Inode implementations can not modify the dentry tree. - Dentries that reach ref count 0 are removed from the dentry tree. - revalidateChildLocked now defer-DecRefs the newly created dentry from Inode.Lookup(), limiting its life to the current filesystem operation. If refs are picked on the dentry during the FS op (via an FD or something), then it will stick around and will be removed when the FD is closed. So there is essentially _no caching_ for Look()ed up dentries. - kernfs.DecRef does not have the precondition that fs.mu must be locked. Fixes #3933 PiperOrigin-RevId: 336768576 | |||
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-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-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-23 | Merge release-20200914.0-137-g99decaadd (automated) | gVisor bot | |
2020-09-23 | Merge release-20200914.0-136-gb54dbdfdc (automated) | gVisor bot | |
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 | [vfs] [1/2] kernfs: Internally use kernfs.Dentry instead of vfs.Dentry. | Ayush Ranjan | |
Update signatures for: - walkExistingLocked - checkDeleteLocked - Inode.Open Updates #1193 PiperOrigin-RevId: 333163381 | |||
2020-09-22 | Merge release-20200914.0-132-g778c36717 (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-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-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-144-gdedef4392 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-142-gfcf8d7c6d (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-140-gef7d9a6fc (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-139-g313e1988c (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-138-g360006d89 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-137-g07d832dbb (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-136-g2fbd31e72 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-134-gd34bda027 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-133-gc0b74be54 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-132-g23fcbd872 (automated) | gVisor bot | |
2020-09-18 | Merge release-20200907.0-131-g1e8beb5f1 (automated) | gVisor bot | |
2020-09-17 | Merge release-20200907.0-130-gf1f844daa (automated) | gVisor bot | |
2020-09-17 | Merge release-20200907.0-129-g319d1b8ba (automated) | gVisor bot | |
2020-09-17 | Merge release-20200907.0-126-ga4db85fff (automated) | gVisor bot | |
2020-09-17 | Merge release-20200907.0-125-gd796b100e (automated) | gVisor bot | |
2020-09-17 | Merge release-20200907.0-123-gf0b1bd434 (automated) | gVisor bot | |
2020-09-17 | Merge release-20200907.0-124-gda07e38f7 (automated) | gVisor bot | |
2020-09-16 | Merge release-20200907.0-67-gb6d165fe9 (automated) | gVisor bot | |
2020-09-16 | Merge release-20200907.0-66-g29ce0ad16 (automated) | gVisor bot | |
2020-09-16 | Merge release-20200907.0-65-g3749e70a6 (automated) | gVisor bot | |
2020-09-16 | Merge release-20200907.0-64-g666397c5c (automated) | gVisor bot | |