Re: [PATCH v4 22/22] mm/zsmalloc: update comments for page->zpdesc changes
From: Sergey Senozhatsky
Date: Wed Jul 31 2024 - 23:13:35 EST
On (24/07/31 12:14), Alex Shi wrote:
> > A bit of a different thing, still documentation related tho: do
> > we want to do something about comments that mention page_lock in
> > zsmalloc.c?
>
> Good question!
>
> There are some comments mentioned about the page_lock in the file, but missed
> in the header of file, so how about the following adding:
And e.g. things like
`The page locks trylock_zspage got will be released by __free_zspage.`
Should this (and the rest) spell "zpdesc locks" or something? Or do
we still want to refer to it as "page lock"?