/*
* Assume this page is now the latest active page.
*
- * Note that because both this routine and SlruSelectLRUPage run with
- * ControlLock held, it is not possible for this to be zeroing a page that
- * SlruSelectLRUPage is going to evict simultaneously. Therefore, there's
- * no memory barrier here.
+ * Note that because both this routine and SlruSelectLRUPage run with a
+ * SLRU bank lock held, it is not possible for this to be zeroing a page
+ * that SlruSelectLRUPage is going to evict simultaneously. Therefore,
+ * there's no memory barrier here.
*/
pg_atomic_write_u64(&shared->latest_page_number, pageno);
/*
* Shared-memory state
*
- * ControlLock is used to protect access to the other fields, except
+ * SLRU bank locks are used to protect access to the other fields, except
* latest_page_number, which uses atomics; see comment in slru.c.
*/
typedef struct SlruSharedData