runtime: fix incorrect comment

This commit is contained in:
zhengchaopu 2023-01-11 14:32:34 +08:00
parent 76d39ae349
commit 25e600dd64
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ type pageCache struct {
scav uint64 // 64-bit bitmap representing scavenged pages (1 means scavenged)
}
// empty returns true if the pageCache has any free pages, and false
// empty returns true if the pageCache has no free pages, and false
// otherwise.
func (c *pageCache) empty() bool {
return c.cache == 0