* [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry'.
@ 2024-10-02 17:32 Kanchana P Sridhar
2024-10-02 18:15 ` Nhat Pham
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Kanchana P Sridhar @ 2024-10-02 17:32 UTC (permalink / raw)
To: linux-kernel, linux-mm, hannes, yosryahmed, nphamcs,
chengming.zhou, usamaarif642, ryan.roberts, ying.huang, 21cnbao,
akpm
Cc: wajdi.k.feghali, vinodh.gopal, kanchana.p.sridhar
Made a minor edit in the comments for 'struct zswap_entry' to delete
the description of the 'value' member that was deleted in commit
20a5532ffa53d6ecf41ded920a7b0ff9c65a7dcf ("mm: remove code to handle
same filled pages").
Signed-off-by: Kanchana P Sridhar <kanchana.p.sridhar@intel.com>
---
mm/zswap.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/zswap.c b/mm/zswap.c
index 09aaf70f95c6..c3e257904b36 100644
--- a/mm/zswap.c
+++ b/mm/zswap.c
@@ -190,7 +190,6 @@ static struct shrinker *zswap_shrinker;
* section for context.
* pool - the zswap_pool the entry's data is in
* handle - zpool allocation handle that stores the compressed page data
- * value - value of the same-value filled pages which have same content
* objcg - the obj_cgroup that the compressed memory is charged to
* lru - handle to the pool's lru used to evict pages.
*/
--
2.27.0
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry'. 2024-10-02 17:32 [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry' Kanchana P Sridhar @ 2024-10-02 18:15 ` Nhat Pham 2024-10-02 19:24 ` Sridhar, Kanchana P 2024-10-02 18:20 ` Yosry Ahmed 2024-10-02 18:27 ` Usama Arif 2 siblings, 1 reply; 5+ messages in thread From: Nhat Pham @ 2024-10-02 18:15 UTC (permalink / raw) To: Kanchana P Sridhar Cc: linux-kernel, linux-mm, hannes, yosryahmed, chengming.zhou, usamaarif642, ryan.roberts, ying.huang, 21cnbao, akpm, wajdi.k.feghali, vinodh.gopal On Wed, Oct 2, 2024 at 10:32 AM Kanchana P Sridhar <kanchana.p.sridhar@intel.com> wrote: > > Made a minor edit in the comments for 'struct zswap_entry' to delete > the description of the 'value' member that was deleted in commit > 20a5532ffa53d6ecf41ded920a7b0ff9c65a7dcf ("mm: remove code to handle > same filled pages"). Is it worth adding a Fixes tag for this? FWIW, it's really just a documentation correction, not an actual bug fix. But it's a "fix" nevertheless... > > Signed-off-by: Kanchana P Sridhar <kanchana.p.sridhar@intel.com> > --- > mm/zswap.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/zswap.c b/mm/zswap.c > index 09aaf70f95c6..c3e257904b36 100644 > --- a/mm/zswap.c > +++ b/mm/zswap.c > @@ -190,7 +190,6 @@ static struct shrinker *zswap_shrinker; > * section for context. > * pool - the zswap_pool the entry's data is in > * handle - zpool allocation handle that stores the compressed page data > - * value - value of the same-value filled pages which have same content > * objcg - the obj_cgroup that the compressed memory is charged to > * lru - handle to the pool's lru used to evict pages. > */ Thanks Kanchana! Reviewed-by: Nhat Pham <nphamcs@gmail.com> ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry'. 2024-10-02 18:15 ` Nhat Pham @ 2024-10-02 19:24 ` Sridhar, Kanchana P 0 siblings, 0 replies; 5+ messages in thread From: Sridhar, Kanchana P @ 2024-10-02 19:24 UTC (permalink / raw) To: Nhat Pham Cc: linux-kernel, linux-mm, hannes, yosryahmed, chengming.zhou, usamaarif642, ryan.roberts, Huang, Ying, 21cnbao, akpm, Feghali, Wajdi K, Gopal, Vinodh, Sridhar, Kanchana P > -----Original Message----- > From: Nhat Pham <nphamcs@gmail.com> > Sent: Wednesday, October 2, 2024 11:15 AM > To: Sridhar, Kanchana P <kanchana.p.sridhar@intel.com> > Cc: linux-kernel@vger.kernel.org; linux-mm@kvack.org; > hannes@cmpxchg.org; yosryahmed@google.com; > chengming.zhou@linux.dev; usamaarif642@gmail.com; > ryan.roberts@arm.com; Huang, Ying <ying.huang@intel.com>; > 21cnbao@gmail.com; akpm@linux-foundation.org; Feghali, Wajdi K > <wajdi.k.feghali@intel.com>; Gopal, Vinodh <vinodh.gopal@intel.com> > Subject: Re: [PATCH v1] mm: zswap: Delete comments for "value" member of > 'struct zswap_entry'. > > On Wed, Oct 2, 2024 at 10:32 AM Kanchana P Sridhar > <kanchana.p.sridhar@intel.com> wrote: > > > > Made a minor edit in the comments for 'struct zswap_entry' to delete > > the description of the 'value' member that was deleted in commit > > 20a5532ffa53d6ecf41ded920a7b0ff9c65a7dcf ("mm: remove code to > handle > > same filled pages"). > > Is it worth adding a Fixes tag for this? FWIW, it's really just a > documentation correction, not an actual bug fix. But it's a "fix" > nevertheless... > > > > > Signed-off-by: Kanchana P Sridhar <kanchana.p.sridhar@intel.com> > > --- > > mm/zswap.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/mm/zswap.c b/mm/zswap.c > > index 09aaf70f95c6..c3e257904b36 100644 > > --- a/mm/zswap.c > > +++ b/mm/zswap.c > > @@ -190,7 +190,6 @@ static struct shrinker *zswap_shrinker; > > * section for context. > > * pool - the zswap_pool the entry's data is in > > * handle - zpool allocation handle that stores the compressed page data > > - * value - value of the same-value filled pages which have same content > > * objcg - the obj_cgroup that the compressed memory is charged to > > * lru - handle to the pool's lru used to evict pages. > > */ > > Thanks Kanchana! > Reviewed-by: Nhat Pham <nphamcs@gmail.com> Sure thing! Thanks Nhat, I will add a Fixes tag. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry'. 2024-10-02 17:32 [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry' Kanchana P Sridhar 2024-10-02 18:15 ` Nhat Pham @ 2024-10-02 18:20 ` Yosry Ahmed 2024-10-02 18:27 ` Usama Arif 2 siblings, 0 replies; 5+ messages in thread From: Yosry Ahmed @ 2024-10-02 18:20 UTC (permalink / raw) To: Kanchana P Sridhar Cc: linux-kernel, linux-mm, hannes, nphamcs, chengming.zhou, usamaarif642, ryan.roberts, ying.huang, 21cnbao, akpm, wajdi.k.feghali, vinodh.gopal On Wed, Oct 2, 2024 at 10:32 AM Kanchana P Sridhar <kanchana.p.sridhar@intel.com> wrote: > > Made a minor edit in the comments for 'struct zswap_entry' to delete > the description of the 'value' member that was deleted in commit > 20a5532ffa53d6ecf41ded920a7b0ff9c65a7dcf ("mm: remove code to handle > same filled pages"). FYI, usually the first 12 characters of the SHA1 are enough when referring to a commit according to [1]. [1]https://www.kernel.org/doc/html/latest/process/submitting-patches.html > > Signed-off-by: Kanchana P Sridhar <kanchana.p.sridhar@intel.com> Acked-by: Yosry Ahmed <yosryahmed@google.com> > --- > mm/zswap.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/zswap.c b/mm/zswap.c > index 09aaf70f95c6..c3e257904b36 100644 > --- a/mm/zswap.c > +++ b/mm/zswap.c > @@ -190,7 +190,6 @@ static struct shrinker *zswap_shrinker; > * section for context. > * pool - the zswap_pool the entry's data is in > * handle - zpool allocation handle that stores the compressed page data > - * value - value of the same-value filled pages which have same content > * objcg - the obj_cgroup that the compressed memory is charged to > * lru - handle to the pool's lru used to evict pages. > */ > -- > 2.27.0 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry'. 2024-10-02 17:32 [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry' Kanchana P Sridhar 2024-10-02 18:15 ` Nhat Pham 2024-10-02 18:20 ` Yosry Ahmed @ 2024-10-02 18:27 ` Usama Arif 2 siblings, 0 replies; 5+ messages in thread From: Usama Arif @ 2024-10-02 18:27 UTC (permalink / raw) To: Kanchana P Sridhar, linux-kernel, linux-mm, hannes, yosryahmed, nphamcs, chengming.zhou, ryan.roberts, ying.huang, 21cnbao, akpm Cc: wajdi.k.feghali, vinodh.gopal On 02/10/2024 18:32, Kanchana P Sridhar wrote: > Made a minor edit in the comments for 'struct zswap_entry' to delete > the description of the 'value' member that was deleted in commit > 20a5532ffa53d6ecf41ded920a7b0ff9c65a7dcf ("mm: remove code to handle > same filled pages"). > > Signed-off-by: Kanchana P Sridhar <kanchana.p.sridhar@intel.com> Reviewed-by: Usama Arif <usamaarif642@gmail.com> > --- > mm/zswap.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/zswap.c b/mm/zswap.c > index 09aaf70f95c6..c3e257904b36 100644 > --- a/mm/zswap.c > +++ b/mm/zswap.c > @@ -190,7 +190,6 @@ static struct shrinker *zswap_shrinker; > * section for context. > * pool - the zswap_pool the entry's data is in > * handle - zpool allocation handle that stores the compressed page data > - * value - value of the same-value filled pages which have same content > * objcg - the obj_cgroup that the compressed memory is charged to > * lru - handle to the pool's lru used to evict pages. > */ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-10-02 19:25 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-10-02 17:32 [PATCH v1] mm: zswap: Delete comments for "value" member of 'struct zswap_entry' Kanchana P Sridhar 2024-10-02 18:15 ` Nhat Pham 2024-10-02 19:24 ` Sridhar, Kanchana P 2024-10-02 18:20 ` Yosry Ahmed 2024-10-02 18:27 ` Usama Arif
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox