On (25/01/28 00:49), Yosry Ahmed wrote: > > Preemption is disabled via zspage-s rwlock_t - zs_map_object() returns > > with it being locked and it's being unlocked in zs_unmap_object(). Then > > the function disables pagefaults and per-CPU local lock (protects per-CPU > > vm-area) additionally disables preemption. > > Right, I meant it does not always disable page faults. I'll add "sometimes" :) [..] > Anyway, if this function will be removed soon then it's not worth > revisiting it now. Ack.