On Mon 01-10-18 15:15:15, Ashish Mhetre wrote: > From: Sri Krishna chowdary <schowdary@xxxxxxxxxx> > > Pages can be swapped out from interrupt context as well. How? No allocation request from the interrupt context can use a sleepable allocation context and that means that no reclaim is allowed from the IRQ context. > ZRAM uses zsmalloc allocator to make room for these pages. > But zsmalloc is not made to be used from interrupt context. > This can result in a kernel Oops. Could you provide the Oops message? -- Michal Hocko SUSE Labs