On 8/4/21 11:58 AM, Bart Van Assche wrote: > On 8/3/21 10:35 PM, Christoph Hellwig wrote: >> On Tue, Aug 03, 2021 at 11:23:03AM -0700, Bart Van Assche wrote: >>> We noticed that the user interface of Android devices becomes very slow >>> under memory pressure. This is because Android uses the zram driver on top >>> of the loop driver for swapping, >> >> Sorry, but that is just amazingly stupid. If you really want to swap >> to compressed files introduce that support in the swap code instead of >> coming up with dumb driver stacks from hell. > > Hi Christoph, > > That's an interesting suggestion. We can look into adding compression > support in the swap code. > > Independent of the use case of this patch, is it acceptable to change > the default I/O scheduler of loop devices from mq-deadline into none > (patches 1 and 2 of this series)? Probably does, there's always going to be underlying storage for it anyway. -- Jens Axboe