diff options
author | 2014-01-30 15:46:04 -0800 | |
---|---|---|
committer | 2014-01-30 16:56:55 -0800 | |
commit | f614a9f48dedd2b80d1dc8bae8094842fcdb39dd (patch) | |
tree | 411b14762df0f6ad7261b5d6f6ad7c9bc28a2204 /mm | |
parent | zram: introduce zram->tb_lock (diff) | |
download | linux-f614a9f48dedd2b80d1dc8bae8094842fcdb39dd.tar.gz linux-f614a9f48dedd2b80d1dc8bae8094842fcdb39dd.tar.bz2 linux-f614a9f48dedd2b80d1dc8bae8094842fcdb39dd.zip |
zram: remove workqueue for freeing removed pending slot
Commit a0c516cbfc74 ("zram: don't grab mutex in zram_slot_free_noity")
introduced free request pending code to avoid scheduling by mutex under
spinlock and it was a mess which made code lenghty and increased
overhead.
Now, we don't need zram->lock any more to free slot so this patch
reverts it and then, tb_lock should protect it.
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Tested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions