[PATCH] lsm: get comm using lock to avoid race in string printing