shared-mem-locks: add missing comments