[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <xlclsibpdk4d5unc34movxduvmhibsufctscudrdzxsovncwe6@3lrijye7zvlc>
Date: Tue, 28 Jan 2025 10:13:00 +0900
From: Sergey Senozhatsky <senozhatsky@...omium.org>
To: Yosry Ahmed <yosry.ahmed@...ux.dev>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>,
Andrew Morton <akpm@...ux-foundation.org>, Minchan Kim <minchan@...nel.org>,
Johannes Weiner <hannes@...xchg.org>, Nhat Pham <nphamcs@...il.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 5/6] zsmalloc: introduce handle mapping API
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.
Powered by blists - more mailing lists