summaryrefslogtreecommitdiff
path: root/src/core/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-01 18:47:46 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-01 18:47:46 +0200
commit5fe8876b320e9f6355425df9991ac38363684117 (patch)
treee332347c31f75f794de722e37045f6cc33ef27c6 /src/core/unit.c
parent6fd66507378bd8706cba38f82167a54d9d116e43 (diff)
core: when looking for the unit for a process, look at the PID hashmaps first
It's cheaper that going to cgroupfs, and also usually the better choice since it's not racy and can map PIDs even if they were moved to a different unit.
Diffstat (limited to 'src/core/unit.c')
0 files changed, 0 insertions, 0 deletions