On 07/16/2013 03:26 AM, Lennart Poettering wrote:
On Mon, 08.07.13 18:39, Karol Lewandowski (k.lewando...@samsung.com) wrote:
According to my analysis /proc access is costly and it would
be best to cache the result for later use. Difficulty comes
from trying to keep cache up to date, though.
On Thu, Jul 18, 2013 at 08:32:18PM +0200, Karol Lewandowski wrote:
Agreed, this is why I have been naively thinking that caching wouldn't
be that bad... However, sending all the required information in message
itself is clearly the best solution to this problem.
It is nice to avoid the race
On Thu, 27.06.13 18:30, Holger Hans Peter Freyther (hol...@freyther.de) wrote:
From: Holger Hans Peter Freyther hol...@moiji-mobile.com
Allow to cache the cg_get_root_path and introduce a new method
cg_pid_get_path_shifted_with_root that can use the cached version
instead of allocating a
On Mon, 08.07.13 18:39, Karol Lewandowski (k.lewando...@samsung.com) wrote:
On 06/27/2013 06:30 PM, Holger Hans Peter Freyther wrote:
From: Holger Hans Peter Freyther hol...@moiji-mobile.com
Allow to cache the cg_get_root_path and introduce a new method
On 06/27/2013 06:30 PM, Holger Hans Peter Freyther wrote:
From: Holger Hans Peter Freyther hol...@moiji-mobile.com
Allow to cache the cg_get_root_path and introduce a new method
cg_pid_get_path_shifted_with_root that can use the cached version
instead of allocating a new string.
My 2c,
I