3.2.8 按适合的粒度加锁