shared-mem-locks: modify comments
shared-mem-locks: fix style errors