There is only one user in tree, and as Tomek pointed out, it is buggy. The reason is that ksm is a shard-local structure, and it is currently used indiscriminately by all shards which can easily lead to problems. We could fix it with some tricks, but it is way better and safer to make sure the callers are doing it right instead. There is only one caller, so let's fix that. Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>