1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/doc
Zdenek Kabelac 18b82048e4 mlockall() -> mlock()
This patch adds a new implementation of locking function instead
of mlockall() that may lock way too much memory (>100MB).
New function instead uses mlock() system call and selectively locks
memory areas from /proc/self/maps trying to avoid locking areas
unused during lock-ed state.

Patch also adds struct cmd_context to all memlock() calls to have
access to configuration.

For backward compatibility functionality of mlockall()
is preserved with "activation/use_mlockall" flag.

As a simple check, locking and unlocking counts the amount of memory
and compares whether values are matching.
2010-03-05 14:48:33 +00:00
..
example_cmdlib.c Store any errno and error messages issued while processing each command. 2009-07-15 23:57:54 +00:00
example.conf mlockall() -> mlock() 2010-03-05 14:48:33 +00:00
Makefile.in Use $(top_builddir) for inclusion of make.tmpl in Makefiles. 2010-03-04 09:51:37 +00:00
pvmove_outline.txt o typo 2002-01-24 09:54:09 +00:00
tagging.txt More tagging documentation, with some cluster examples. 2004-11-17 18:34:49 +00:00
testing.txt doc/testing.txt: Fix typo: s/this/thing/. 2007-09-25 08:28:57 +00:00