Revert "zram: use zram->lock to protect zram_free_page() in swap free notify path"
This reverts commit 9e443904, which was commit 57ab0485 upstream. Taking the semaphore here leads to sleeping in atomic context. This was fixed in mainline commit a0c516cb ("zram: don't grab mutex in zram_slot_free_noity") but that is too difficult to backport. Signed-off-by:Ben Hutchings <ben@decadent.org.uk>
Showing
Please register or sign in to comment