netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] RDSRDMA: Fix cleanup of rds_iw_mr_pool
@ 2011-09-09 14:37 Venkat Venkatsubra
  2011-09-09 19:01 ` Steve Wise
  0 siblings, 1 reply; 4+ messages in thread
From: Venkat Venkatsubra @ 2011-09-09 14:37 UTC (permalink / raw)
  To: Netdev, Rds-Devel; +Cc: Davem


On 09/08/2011 01:04 PM, Jonathan Lallinger wrote:
> In the rds_iw_mr_pool struct the free_pinned field keeps track of memory pinned
> by free MRs. While this field is incremented properly upon allocation, it is never
> decremented upon unmapping. This would cause the rds_rdma module to crash the
> kernel upon unloading, by triggering the BUG_ON in the rds_iw_destroy_mr_pool
> function.
>
> This change keeps track of the MRs that become unpinned, so that free_pinned
> can be decremented appropriately.
>
> Signed-off-by: Jonathan Lallinger<jonathan@ogc.us>
> Signed-off-by: Steve Wise<swise@ogc.us>

Signed-off-by: Venkat Venkatsubra<venkat.x.venkatsubra@oracle.com>

Venkat

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RDSRDMA: Fix cleanup of rds_iw_mr_pool
  2011-09-09 14:37 [PATCH] RDSRDMA: Fix cleanup of rds_iw_mr_pool Venkat Venkatsubra
@ 2011-09-09 19:01 ` Steve Wise
  2011-09-09 19:05   ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Wise @ 2011-09-09 19:01 UTC (permalink / raw)
  To: Davem; +Cc: Venkat Venkatsubra, Netdev, Rds-Devel, Jonathan Lallinger

On 09/09/2011 09:37 AM, Venkat Venkatsubra wrote:
> On 09/08/2011 01:04 PM, Jonathan Lallinger wrote:
>> In the rds_iw_mr_pool struct the free_pinned field keeps track of memory pinned
>> by free MRs. While this field is incremented properly upon allocation, it is never
>> decremented upon unmapping. This would cause the rds_rdma module to crash the
>> kernel upon unloading, by triggering the BUG_ON in the rds_iw_destroy_mr_pool
>> function.
>>
>> This change keeps track of the MRs that become unpinned, so that free_pinned
>> can be decremented appropriately.
>>
>> Signed-off-by: Jonathan Lallinger<jonathan@ogc.us>
>> Signed-off-by: Steve Wise<swise@ogc.us>
> Signed-off-by: Venkat Venkatsubra<venkat.x.venkatsubra@oracle.com>
>
> Venkat
>

Hey Dave,

Is this sufficient for you to pull/merge the patch upstream?  Or should Venkat, the new RDS maintainer, do something 
else?  Like maybe coalesce patches into a git repos and ask you to pull them in?  I'm not sure what process you had with 
the old RDS maintainer.

There's another patch too from Jonathan Lallinger that fixes an RDS crash titled:

[PATCH] RDSRDMA: Fix to PAGE_MASK interpretation

Both have been signed off by Venkat and reviewed by me.


Thanks,

Steve.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RDSRDMA: Fix cleanup of rds_iw_mr_pool
  2011-09-09 19:01 ` Steve Wise
@ 2011-09-09 19:05   ` David Miller
       [not found]     ` <4E6F9831.8000203@opengridcomputing.com>
  0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2011-09-09 19:05 UTC (permalink / raw)
  To: swise; +Cc: venkat.x.venkatsubra, netdev, rds-devel, jonathan

From: Steve Wise <swise@opengridcomputing.com>
Date: Fri, 09 Sep 2011 14:01:53 -0500

> Is this sufficient for you to pull/merge the patch upstream?

It's all queued up in patchwork, so I don't see why not.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Recall: [PATCH] RDSRDMA: Fix cleanup of rds_iw_mr_pool
       [not found]     ` <4E6F9831.8000203@opengridcomputing.com>
@ 2011-09-13 18:37       ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2011-09-13 18:37 UTC (permalink / raw)
  To: jonathan; +Cc: swise, netdev

From: Jonathan Lallinger <jonathan@opengridcomputing.com>
Date: Tue, 13 Sep 2011 12:51:45 -0500

> I screwed up and submitted the wrong patch, if you could please remove
> this patch from the queue and I will resubmit the correct patch.

Ok, done.

In the future, please always CC: netdev when you are communicating
with me about networking patches.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-13 18:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-09 14:37 [PATCH] RDSRDMA: Fix cleanup of rds_iw_mr_pool Venkat Venkatsubra
2011-09-09 19:01 ` Steve Wise
2011-09-09 19:05   ` David Miller
     [not found]     ` <4E6F9831.8000203@opengridcomputing.com>
2011-09-13 18:37       ` Recall: " David Miller

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).