diff options
author | Vitaly Wool <vitalywool@gmail.com> | 2017-02-24 14:57:23 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-24 17:46:54 -0800 |
commit | 2f1e5e4d8430f365f979a818f515123a71b640ec (patch) | |
tree | d7e421b9780b1106c9bc29db1d5f451ad4f0b9a3 /Documentation/IPMI.txt | |
parent | 1b096e5ae9f7181c770d59c6895f23a76c63adee (diff) | |
download | linux-2f1e5e4d8430f365f979a818f515123a71b640ec.tar.bz2 |
z3fold: use per-page spinlock
Most of z3fold operations are in-page, such as modifying z3fold page
header or moving z3fold objects within a page. Taking per-pool spinlock
to protect per-page objects is therefore suboptimal, and the idea of
having a per-page spinlock (or rwlock) has been around for some time.
This patch implements spinlock-based per-page locking mechanism which is
lightweight enough to normally fit ok into the z3fold header.
Link: http://lkml.kernel.org/r/20170131214438.433e0a5fda908337b63206d3@gmail.com
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Reviewed-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/IPMI.txt')
0 files changed, 0 insertions, 0 deletions