1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/mm
Zdenek Kabelac 6365f011b0 locking: introduce prioritized_section
Introduce prioritized_section() as a closer match to previous logic
of critical_section() that has been held over longer sequence of
ioctl commands - essentially it's matching operation on a single
cookie.

While 'critical_section()' now corresponds to locked memory - we hold
this memory only between suspend/resume thus notion of 'cookie' was
lost.

This patch restores some logic unintentionaly lost with dropping
memory locking for just activation/deactivation calls.
2018-03-15 10:59:42 +01:00
..
memlock.c locking: introduce prioritized_section 2018-03-15 10:59:42 +01:00
memlock.h locking: introduce prioritized_section 2018-03-15 10:59:42 +01:00
xlate.h doc: change fsf address 2016-01-21 12:11:37 +01:00