diff options
author | Vitaly Wool <vitalywool@gmail.com> | 2017-02-24 14:57:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-24 17:46:54 -0800 |
commit | 5a27aa8220290b64cd5da066a1e29375aa867e69 (patch) | |
tree | 6a2fbfc07e38793e686b6037c0388a806d29af58 /mm/migrate.c | |
parent | 2f1e5e4d8430f365f979a818f515123a71b640ec (diff) | |
download | lwn-5a27aa8220290b64cd5da066a1e29375aa867e69.tar.gz lwn-5a27aa8220290b64cd5da066a1e29375aa867e69.zip |
z3fold: add kref refcounting
With both coming and already present locking optimizations, introducing
kref to reference-count z3fold objects is the right thing to do.
Moreover, it makes buddied list no longer necessary, and allows for a
simpler handling of headless pages.
[akpm@linux-foundation.org: coding-style fixes]
Link: http://lkml.kernel.org/r/20170131214650.8ea78033d91ded233f552bc0@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 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions