aboutsummaryrefslogtreecommitdiff
path: root/fs/squashfs/cache.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2013-11-18 02:31:36 +0000
committerMister Oyster <oysterized@gmail.com>2017-04-11 11:00:17 +0200
commit1e92920066fcf3e246e4cc619f374e7ccb3624cc (patch)
tree8b229fd8d4afa6e2ebdd638899ca2d2ad9f507ca /fs/squashfs/cache.c
parent48182c4e999b6696de6225af60eec109c5ae748b (diff)
Squashfs: add multi-threaded decompression using percpu variable
Add a multi-threaded decompression implementation which uses percpu variables. Using percpu variables has advantages and disadvantages over implementations which do not use percpu variables. Advantages: * the nature of percpu variables ensures decompression is load-balanced across the multiple cores. * simplicity. Disadvantages: it limits decompression to one thread per core. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk> Change-Id: I11572e11c27ed2224243e4291a5bfe43fbdacd8e
Diffstat (limited to 'fs/squashfs/cache.c')
0 files changed, 0 insertions, 0 deletions