diff --git a/src/runtime/mpagecache.go b/src/runtime/mpagecache.go index 5bad4f789a..5bc9c84408 100644 --- a/src/runtime/mpagecache.go +++ b/src/runtime/mpagecache.go @@ -21,8 +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 -// otherwise. +// empty reports whether the page cache has no free pages. func (c *pageCache) empty() bool { return c.cache == 0 }