Re: [RFC PATCH] zram: avoid preemption with CPU-based compression backends
Sergey Senozhatsky <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
On (26/08/05 18:34), Barry Song wrote: > Thanks very much for your quick patch, Sergey. > > We are going to run three experiments: > > 1. Use the approach I just sent, which avoids calling zs_malloc() > with direct reclaim while holding the mutex, and extend it to > the other zs_malloc() call sites: > > https://lore.kernel.org/all/[email protected]/ > > 2. Experiment 1 plus preemption disabled. > > 3. Your patch, which separates the compression and decompression > mutexes. > > I'd like to understand which change has the biggest impact on > performance. > > Let me gather some data, and I'll get back to you. Thanks a lot! Take your time!