* [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr'
@ 2024-05-31 23:33 linux
2024-06-04 17:08 ` Simon Horman
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: linux @ 2024-05-31 23:33 UTC (permalink / raw)
To: allison.henderson, davem, edumazet, kuba, pabeni
Cc: netdev, linux-rdma, rds-devel, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'rds_ib_dereg_odp_mr' has been unused since the original
commit 2eafa1746f17 ("net/rds: Handle ODP mr
registration/unregistration").
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
net/rds/ib_rdma.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c
index 8f070ee7e742..d1cfceeff133 100644
--- a/net/rds/ib_rdma.c
+++ b/net/rds/ib_rdma.c
@@ -40,10 +40,6 @@
#include "rds.h"
struct workqueue_struct *rds_ib_mr_wq;
-struct rds_ib_dereg_odp_mr {
- struct work_struct work;
- struct ib_mr *mr;
-};
static void rds_ib_odp_mr_worker(struct work_struct *work);
--
2.45.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-05-31 23:33 [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' linux @ 2024-06-04 17:08 ` Simon Horman 2024-06-04 17:32 ` Dr. David Alan Gilbert 2024-06-04 17:51 ` Allison Henderson 2024-07-21 6:41 ` Zhu Yanjun 2 siblings, 1 reply; 11+ messages in thread From: Simon Horman @ 2024-06-04 17:08 UTC (permalink / raw) To: linux Cc: allison.henderson, davem, edumazet, kuba, pabeni, netdev, linux-rdma, rds-devel, linux-kernel On Sat, Jun 01, 2024 at 12:33:07AM +0100, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > 'rds_ib_dereg_odp_mr' has been unused since the original > commit 2eafa1746f17 ("net/rds: Handle ODP mr > registration/unregistration"). nit: Maybe commit lines are best not line-wrapped. I'm unsure. > > Remove it. > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> The above not withstanding, this looks good to me. Reviewed-by: Simon Horman <horms@kernel.org> ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-06-04 17:08 ` Simon Horman @ 2024-06-04 17:32 ` Dr. David Alan Gilbert 0 siblings, 0 replies; 11+ messages in thread From: Dr. David Alan Gilbert @ 2024-06-04 17:32 UTC (permalink / raw) To: Simon Horman Cc: allison.henderson, davem, edumazet, kuba, pabeni, netdev, linux-rdma, rds-devel, linux-kernel * Simon Horman (horms@kernel.org) wrote: > On Sat, Jun 01, 2024 at 12:33:07AM +0100, linux@treblig.org wrote: > > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > > > 'rds_ib_dereg_odp_mr' has been unused since the original > > commit 2eafa1746f17 ("net/rds: Handle ODP mr > > registration/unregistration"). > > nit: Maybe commit lines are best not line-wrapped. > I'm unsure. Yeh I wasn't too sure, checkpatch seems to have code to deal with it, so it is expecting it could be wrapped: # A commit match can span multiple lines so this block attempts to find a # complete typical commit on a maximum of 3 lines > > > > Remove it. > > > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > > The above not withstanding, this looks good to me. > > Reviewed-by: Simon Horman <horms@kernel.org> Thanks! Dave -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-05-31 23:33 [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' linux 2024-06-04 17:08 ` Simon Horman @ 2024-06-04 17:51 ` Allison Henderson 2024-07-20 0:28 ` Dr. David Alan Gilbert 2024-07-21 6:41 ` Zhu Yanjun 2 siblings, 1 reply; 11+ messages in thread From: Allison Henderson @ 2024-06-04 17:51 UTC (permalink / raw) To: edumazet@google.com, linux@treblig.org, davem@davemloft.net, pabeni@redhat.com, kuba@kernel.org Cc: rds-devel@oss.oracle.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org On Sat, 2024-06-01 at 00:33 +0100, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > 'rds_ib_dereg_odp_mr' has been unused since the original > commit 2eafa1746f17 ("net/rds: Handle ODP mr > registration/unregistration"). > > Remove it. > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> This patch looks fine to me, the struct is indeed unused at this point. Thanks for the clean up! Reviewed-by: Allison Henderson <allison.henderson@oracle.com> > --- > net/rds/ib_rdma.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c > index 8f070ee7e742..d1cfceeff133 100644 > --- a/net/rds/ib_rdma.c > +++ b/net/rds/ib_rdma.c > @@ -40,10 +40,6 @@ > #include "rds.h" > > struct workqueue_struct *rds_ib_mr_wq; > -struct rds_ib_dereg_odp_mr { > - struct work_struct work; > - struct ib_mr *mr; > -}; > > static void rds_ib_odp_mr_worker(struct work_struct *work); > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-06-04 17:51 ` Allison Henderson @ 2024-07-20 0:28 ` Dr. David Alan Gilbert 2024-07-21 7:05 ` Leon Romanovsky 0 siblings, 1 reply; 11+ messages in thread From: Dr. David Alan Gilbert @ 2024-07-20 0:28 UTC (permalink / raw) To: Allison Henderson Cc: edumazet@google.com, davem@davemloft.net, pabeni@redhat.com, kuba@kernel.org, rds-devel@oss.oracle.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org * Allison Henderson (allison.henderson@oracle.com) wrote: > On Sat, 2024-06-01 at 00:33 +0100, linux@treblig.org wrote: > > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > > > 'rds_ib_dereg_odp_mr' has been unused since the original > > commit 2eafa1746f17 ("net/rds: Handle ODP mr > > registration/unregistration"). > > > > Remove it. > > > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > > This patch looks fine to me, the struct is indeed unused at this point. > Thanks for the clean up! > > Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Hi, Does anyone know who might pick this one up - I don't think it's in -next yet? Dave > > --- > > net/rds/ib_rdma.c | 4 ---- > > 1 file changed, 4 deletions(-) > > > > diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c > > index 8f070ee7e742..d1cfceeff133 100644 > > --- a/net/rds/ib_rdma.c > > +++ b/net/rds/ib_rdma.c > > @@ -40,10 +40,6 @@ > > #include "rds.h" > > > > struct workqueue_struct *rds_ib_mr_wq; > > -struct rds_ib_dereg_odp_mr { > > - struct work_struct work; > > - struct ib_mr *mr; > > -}; > > > > static void rds_ib_odp_mr_worker(struct work_struct *work); > > > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-07-20 0:28 ` Dr. David Alan Gilbert @ 2024-07-21 7:05 ` Leon Romanovsky 2024-07-21 11:02 ` Dr. David Alan Gilbert 0 siblings, 1 reply; 11+ messages in thread From: Leon Romanovsky @ 2024-07-21 7:05 UTC (permalink / raw) To: Dr. David Alan Gilbert Cc: Allison Henderson, edumazet@google.com, davem@davemloft.net, pabeni@redhat.com, kuba@kernel.org, rds-devel@oss.oracle.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org On Sat, Jul 20, 2024 at 12:28:17AM +0000, Dr. David Alan Gilbert wrote: > * Allison Henderson (allison.henderson@oracle.com) wrote: > > On Sat, 2024-06-01 at 00:33 +0100, linux@treblig.org wrote: > > > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > > > > > 'rds_ib_dereg_odp_mr' has been unused since the original > > > commit 2eafa1746f17 ("net/rds: Handle ODP mr > > > registration/unregistration"). > > > > > > Remove it. > > > > > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > > > > This patch looks fine to me, the struct is indeed unused at this point. > > Thanks for the clean up! > > > > Reviewed-by: Allison Henderson <allison.henderson@oracle.com> > > Hi, > Does anyone know who might pick this one up - I don't think > it's in -next yet? 1. We are in merge window and this patch is not a bug fix, so it should wait until the next merge window. 2. Title should be net/rds ... and not RDMA/rds ... 3. netdev is closed right now, so it should be resubmitted after next merge window ends. Thanks ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-07-21 7:05 ` Leon Romanovsky @ 2024-07-21 11:02 ` Dr. David Alan Gilbert 2024-07-21 12:06 ` Leon Romanovsky 0 siblings, 1 reply; 11+ messages in thread From: Dr. David Alan Gilbert @ 2024-07-21 11:02 UTC (permalink / raw) To: Leon Romanovsky Cc: Allison Henderson, edumazet@google.com, davem@davemloft.net, pabeni@redhat.com, kuba@kernel.org, rds-devel@oss.oracle.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org * Leon Romanovsky (leon@kernel.org) wrote: > On Sat, Jul 20, 2024 at 12:28:17AM +0000, Dr. David Alan Gilbert wrote: > > * Allison Henderson (allison.henderson@oracle.com) wrote: > > > On Sat, 2024-06-01 at 00:33 +0100, linux@treblig.org wrote: > > > > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > > > > > > > 'rds_ib_dereg_odp_mr' has been unused since the original > > > > commit 2eafa1746f17 ("net/rds: Handle ODP mr > > > > registration/unregistration"). > > > > > > > > Remove it. > > > > > > > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > > > > > > This patch looks fine to me, the struct is indeed unused at this point. > > > Thanks for the clean up! > > > > > > Reviewed-by: Allison Henderson <allison.henderson@oracle.com> > > > > Hi, > > Does anyone know who might pick this one up - I don't think > > it's in -next yet? > > 1. We are in merge window and this patch is not a bug fix, so it should > wait until the next merge window. Yeh I did wonder; it was posted and reviewed back at the start of June. > 2. Title should be net/rds ... and not RDMA/rds ... OK, I can easily fix that. > 3. netdev is closed right now, so it should be resubmitted after next merge > window ends. When you say 'resubmitted' - you mean reposted to the lists with the amended title? Or what? Dave > Thanks > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-07-21 11:02 ` Dr. David Alan Gilbert @ 2024-07-21 12:06 ` Leon Romanovsky 2024-07-29 21:01 ` Dr. David Alan Gilbert 0 siblings, 1 reply; 11+ messages in thread From: Leon Romanovsky @ 2024-07-21 12:06 UTC (permalink / raw) To: Dr. David Alan Gilbert Cc: Allison Henderson, edumazet@google.com, davem@davemloft.net, pabeni@redhat.com, kuba@kernel.org, rds-devel@oss.oracle.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org On Sun, Jul 21, 2024 at 11:02:49AM +0000, Dr. David Alan Gilbert wrote: > * Leon Romanovsky (leon@kernel.org) wrote: > > On Sat, Jul 20, 2024 at 12:28:17AM +0000, Dr. David Alan Gilbert wrote: > > > * Allison Henderson (allison.henderson@oracle.com) wrote: > > > > On Sat, 2024-06-01 at 00:33 +0100, linux@treblig.org wrote: > > > > > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > > > > > > > > > 'rds_ib_dereg_odp_mr' has been unused since the original > > > > > commit 2eafa1746f17 ("net/rds: Handle ODP mr > > > > > registration/unregistration"). > > > > > > > > > > Remove it. > > > > > > > > > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > > > > > > > > This patch looks fine to me, the struct is indeed unused at this point. > > > > Thanks for the clean up! > > > > > > > > Reviewed-by: Allison Henderson <allison.henderson@oracle.com> > > > > > > Hi, > > > Does anyone know who might pick this one up - I don't think > > > it's in -next yet? > > > > 1. We are in merge window and this patch is not a bug fix, so it should > > wait until the next merge window. > > Yeh I did wonder; it was posted and reviewed back at the start of June. > > > 2. Title should be net/rds ... and not RDMA/rds ... > > OK, I can easily fix that. > > > 3. netdev is closed right now, so it should be resubmitted after next merge > > window ends. > > When you say 'resubmitted' - you mean reposted to the lists with the amended > title? Or what? Yes, reposted to the netdev@ ML with the correct title. Thanks > > Dave > > > Thanks > > > -- > -----Open up your eyes, open up your mind, open up your code ------- > / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ > \ dave @ treblig.org | | In Hex / > \ _________________________|_____ http://www.treblig.org |_______/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-07-21 12:06 ` Leon Romanovsky @ 2024-07-29 21:01 ` Dr. David Alan Gilbert 0 siblings, 0 replies; 11+ messages in thread From: Dr. David Alan Gilbert @ 2024-07-29 21:01 UTC (permalink / raw) To: Leon Romanovsky Cc: Allison Henderson, edumazet@google.com, davem@davemloft.net, pabeni@redhat.com, kuba@kernel.org, rds-devel@oss.oracle.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org * Leon Romanovsky (leon@kernel.org) wrote: > On Sun, Jul 21, 2024 at 11:02:49AM +0000, Dr. David Alan Gilbert wrote: > > * Leon Romanovsky (leon@kernel.org) wrote: > > > On Sat, Jul 20, 2024 at 12:28:17AM +0000, Dr. David Alan Gilbert wrote: > > > > * Allison Henderson (allison.henderson@oracle.com) wrote: > > > > > On Sat, 2024-06-01 at 00:33 +0100, linux@treblig.org wrote: > > > > > > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > > > > > > > > > > > 'rds_ib_dereg_odp_mr' has been unused since the original > > > > > > commit 2eafa1746f17 ("net/rds: Handle ODP mr > > > > > > registration/unregistration"). > > > > > > > > > > > > Remove it. > > > > > > > > > > > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > > > > > > > > > > This patch looks fine to me, the struct is indeed unused at this point. > > > > > Thanks for the clean up! > > > > > > > > > > Reviewed-by: Allison Henderson <allison.henderson@oracle.com> > > > > > > > > Hi, > > > > Does anyone know who might pick this one up - I don't think > > > > it's in -next yet? > > > > > > 1. We are in merge window and this patch is not a bug fix, so it should > > > wait until the next merge window. > > > > Yeh I did wonder; it was posted and reviewed back at the start of June. > > > > > 2. Title should be net/rds ... and not RDMA/rds ... > > > > OK, I can easily fix that. > > > > > 3. netdev is closed right now, so it should be resubmitted after next merge > > > window ends. > > > > When you say 'resubmitted' - you mean reposted to the lists with the amended > > title? Or what? > > Yes, reposted to the netdev@ ML with the correct title. OK, reposted as Message-ID: 20240729210114.48522-1-linux@treblig.org Dave > Thanks > > > > > Dave > > > > > Thanks > > > > > -- > > -----Open up your eyes, open up your mind, open up your code ------- > > / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ > > \ dave @ treblig.org | | In Hex / > > \ _________________________|_____ http://www.treblig.org |_______/ > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-05-31 23:33 [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' linux 2024-06-04 17:08 ` Simon Horman 2024-06-04 17:51 ` Allison Henderson @ 2024-07-21 6:41 ` Zhu Yanjun 2024-07-21 10:59 ` Dr. David Alan Gilbert 2 siblings, 1 reply; 11+ messages in thread From: Zhu Yanjun @ 2024-07-21 6:41 UTC (permalink / raw) To: linux, allison.henderson, davem, edumazet, kuba, pabeni Cc: netdev, linux-rdma, rds-devel, linux-kernel 在 2024/6/1 1:33, linux@treblig.org 写道: > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > 'rds_ib_dereg_odp_mr' has been unused since the original > commit 2eafa1746f17 ("net/rds: Handle ODP mr > registration/unregistration"). > > Remove it. > Need Fixes? Fixes: 2eafa1746f17 ("net/rds: Handle ODP mr registration/unregistration") Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Zhu Yanjun > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > --- > net/rds/ib_rdma.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c > index 8f070ee7e742..d1cfceeff133 100644 > --- a/net/rds/ib_rdma.c > +++ b/net/rds/ib_rdma.c > @@ -40,10 +40,6 @@ > #include "rds.h" > > struct workqueue_struct *rds_ib_mr_wq; > -struct rds_ib_dereg_odp_mr { > - struct work_struct work; > - struct ib_mr *mr; > -}; > > static void rds_ib_odp_mr_worker(struct work_struct *work); > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-07-21 6:41 ` Zhu Yanjun @ 2024-07-21 10:59 ` Dr. David Alan Gilbert 0 siblings, 0 replies; 11+ messages in thread From: Dr. David Alan Gilbert @ 2024-07-21 10:59 UTC (permalink / raw) To: Zhu Yanjun Cc: allison.henderson, davem, edumazet, kuba, pabeni, netdev, linux-rdma, rds-devel, linux-kernel * Zhu Yanjun (yanjun.zhu@linux.dev) wrote: > 在 2024/6/1 1:33, linux@treblig.org 写道: > > From: "Dr. David Alan Gilbert" <linux@treblig.org> > > > > 'rds_ib_dereg_odp_mr' has been unused since the original > > commit 2eafa1746f17 ("net/rds: Handle ODP mr > > registration/unregistration"). > > > > Remove it. > > > Need Fixes? > > Fixes: 2eafa1746f17 ("net/rds: Handle ODP mr > registration/unregistration") I've not been using Fixes on these, because they have no actual consequence - there's no need for stable or downstream to pick them up, which is what Fixes is often used for. > Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Thanks, Dave > Zhu Yanjun > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> > > --- > > net/rds/ib_rdma.c | 4 ---- > > 1 file changed, 4 deletions(-) > > > > diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c > > index 8f070ee7e742..d1cfceeff133 100644 > > --- a/net/rds/ib_rdma.c > > +++ b/net/rds/ib_rdma.c > > @@ -40,10 +40,6 @@ > > #include "rds.h" > > struct workqueue_struct *rds_ib_mr_wq; > > -struct rds_ib_dereg_odp_mr { > > - struct work_struct work; > > - struct ib_mr *mr; > > -}; > > static void rds_ib_odp_mr_worker(struct work_struct *work); > > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-07-29 21:02 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-05-31 23:33 [PATCH] RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr' linux 2024-06-04 17:08 ` Simon Horman 2024-06-04 17:32 ` Dr. David Alan Gilbert 2024-06-04 17:51 ` Allison Henderson 2024-07-20 0:28 ` Dr. David Alan Gilbert 2024-07-21 7:05 ` Leon Romanovsky 2024-07-21 11:02 ` Dr. David Alan Gilbert 2024-07-21 12:06 ` Leon Romanovsky 2024-07-29 21:01 ` Dr. David Alan Gilbert 2024-07-21 6:41 ` Zhu Yanjun 2024-07-21 10:59 ` Dr. David Alan Gilbert
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).