1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Zdenek Kabelac 0c897ecefd 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
autoconf extended configure with --enable-profiling for compiling code with gcov info 2008-06-27 15:35:09 +00:00
daemons Use DL_LIBS, remove -ldl from global LIBS and link -ldl only when needed. 2010-03-04 12:10:40 +00:00
doc mlockall() -> mlock() 2010-03-05 14:48:33 +00:00
include Add libdevmapper-event-lvm2.so to serialise dmeventd plugin liblvm2cmd use. 2010-01-21 22:15:45 +00:00
lib mlockall() -> mlock() 2010-03-05 14:48:33 +00:00
libdm Use UDEV_LIBS, and link -ludev only when needed. 2010-03-04 12:12:34 +00:00
liblvm Introduce LVMINTERNAL_LIBS 2010-03-04 11:12:39 +00:00
man Use consistently $() instead of ${} for all Makefile variables, 2010-03-04 09:56:01 +00:00
old-tests Use $(top_builddir) for inclusion of make.tmpl in Makefiles. 2010-03-04 09:51:37 +00:00
po Use $(top_builddir) for inclusion of make.tmpl in Makefiles. 2010-03-04 09:51:37 +00:00
scripts Use $(top_builddir) for inclusion of make.tmpl in Makefiles. 2010-03-04 09:51:37 +00:00
test Pthread linking change 2010-03-04 11:21:05 +00:00
tools mlockall() -> mlock() 2010-03-05 14:48:33 +00:00
udev Use $(top_builddir) for inclusion of make.tmpl in Makefiles. 2010-03-04 09:51:37 +00:00
configure Use UDEV_LIBS, and link -ludev only when needed. 2010-03-04 12:12:34 +00:00
configure.in Use UDEV_LIBS, and link -ludev only when needed. 2010-03-04 12:12:34 +00:00
COPYING Outline docs 2001-12-31 16:12:40 +00:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in Use UDEV_LIBS, and link -ludev only when needed. 2010-03-04 12:12:34 +00:00
Makefile.in Allow for a build directory separate from the source. 2009-10-02 19:10:31 +00:00
README quick review of docs 2008-11-04 17:49:22 +00:00
VERSION post-release 2010-02-16 00:27:01 +00:00
VERSION_DM post-release 2010-02-16 00:27:01 +00:00
WHATS_NEW mlockall() -> mlock() 2010-03-05 14:48:33 +00:00
WHATS_NEW_DM post-release 2010-02-16 00:27:01 +00:00

This tree contains the LVM2 and device-mapper tools and libraries.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sources.redhat.com/pub/lvm2/

To access the CVS tree use:
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 login
  CVS password: cvs
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 co LVM2

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing list for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel