mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-28 03:27:58 +03:00
3f67b36b35
Code moves initilization of stats values to _memlock_maps(). For dmeventd we need to use mlockall() - so avoid reading config value and go with _use_mlockall code path. Patch assumes dmeventd uses C locales! Patch needs the call or memlock_inc_daemon() before memlock_inc() (which is our common use case). Some minor code cleanup patch for _un/_lock_mem_if_needed(). |
||
---|---|---|
.. | ||
memlock.c | ||
memlock.h | ||
xlate.h |