Message ID | 20240806003403.3142387-1-nphamcs@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v3,1/2] zswap: implement a second chance algorithm for dynamic zswap shrinker (fix) | expand |
On Mon, Aug 5, 2024 at 5:34 PM Nhat Pham <nphamcs@gmail.com> wrote: > > Fix a small mistake in the referenced bit documentation. > > Signed-off-by: Nhat Pham <nphamcs@gmail.com> Acked-by: Yosry Ahmed <yosryahmed@google.com> > --- > mm/zswap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mm/zswap.c b/mm/zswap.c > index fb3d9cb88785..44a7234a7b11 100644 > --- a/mm/zswap.c > +++ b/mm/zswap.c > @@ -188,8 +188,8 @@ static struct shrinker *zswap_shrinker; > * decompression. For a same value filled page length is 0, and both > * pool and lru are invalid and must be ignored. > * referenced - true if the entry recently entered the zswap pool. Unset by the > - * dynamic shrinker. The entry is only reclaimed by the dynamic > - * shrinker if referenced is unset. See comments in the shrinker > + * writeback logic. The entry is only reclaimed by the writeback > + * logic if referenced is unset. See comments in the shrinker > * section for context. > * pool - the zswap_pool the entry's data is in > * handle - zpool allocation handle that stores the compressed page data > -- > 2.43.0
diff --git a/mm/zswap.c b/mm/zswap.c index fb3d9cb88785..44a7234a7b11 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -188,8 +188,8 @@ static struct shrinker *zswap_shrinker; * decompression. For a same value filled page length is 0, and both * pool and lru are invalid and must be ignored. * referenced - true if the entry recently entered the zswap pool. Unset by the - * dynamic shrinker. The entry is only reclaimed by the dynamic - * shrinker if referenced is unset. See comments in the shrinker + * writeback logic. The entry is only reclaimed by the writeback + * logic if referenced is unset. See comments in the shrinker * section for context. * pool - the zswap_pool the entry's data is in * handle - zpool allocation handle that stores the compressed page data
Fix a small mistake in the referenced bit documentation. Signed-off-by: Nhat Pham <nphamcs@gmail.com> --- mm/zswap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)