Re: [PATCH v2] IB/umem: ib_ucontext already have tgid, remove pid from ib_umem structure

2018-06-13 Thread 858585 jemmy
On Wed, Jun 13, 2018 at 12:36 PM, Jason Gunthorpe wrote: > On Tue, May 08, 2018 at 04:50:16PM +0800, Lidong Chen wrote: >> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >> If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has >> exited, get_pid_task

Re: [PATCH v2] IB/umem: ib_ucontext already have tgid, remove pid from ib_umem structure

2018-06-13 Thread 858585 jemmy
On Wed, Jun 13, 2018 at 12:36 PM, Jason Gunthorpe wrote: > On Tue, May 08, 2018 at 04:50:16PM +0800, Lidong Chen wrote: >> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >> If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has >> exited, get_pid_task

Re: [PATCH v2] IB/umem: ib_ucontext already have tgid, remove pid from ib_umem structure

2018-05-16 Thread 858585 jemmy
On Wed, May 16, 2018 at 7:14 AM, Jason Gunthorpe wrote: > On Tue, May 08, 2018 at 04:50:16PM +0800, Lidong Chen wrote: >> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >> If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has >> exited,

Re: [PATCH v2] IB/umem: ib_ucontext already have tgid, remove pid from ib_umem structure

2018-05-16 Thread 858585 jemmy
On Wed, May 16, 2018 at 7:14 AM, Jason Gunthorpe wrote: > On Tue, May 08, 2018 at 04:50:16PM +0800, Lidong Chen wrote: >> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >> If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has >> exited, get_pid_task

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-08 Thread 858585 jemmy
On Tue, May 8, 2018 at 2:30 PM, Jason Gunthorpe <j...@ziepe.ca> wrote: > On Mon, May 07, 2018 at 09:38:53AM +0800, 858585 jemmy wrote: >> On Sat, May 5, 2018 at 2:23 AM, Jason Gunthorpe <j...@ziepe.ca> wrote: >> > On Fri, May 04, 2018 at 04:51:15PM +0800, 858585 je

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-08 Thread 858585 jemmy
On Tue, May 8, 2018 at 2:30 PM, Jason Gunthorpe wrote: > On Mon, May 07, 2018 at 09:38:53AM +0800, 858585 jemmy wrote: >> On Sat, May 5, 2018 at 2:23 AM, Jason Gunthorpe wrote: >> > On Fri, May 04, 2018 at 04:51:15PM +0800, 858585 jemmy wrote: >> >> On Fri, May 4,

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-06 Thread 858585 jemmy
On Sat, May 5, 2018 at 2:23 AM, Jason Gunthorpe <j...@ziepe.ca> wrote: > On Fri, May 04, 2018 at 04:51:15PM +0800, 858585 jemmy wrote: >> On Fri, May 4, 2018 at 11:14 AM, 858585 jemmy <jemmy858...@gmail.com> wrote: >> > On Thu, May 3, 2018 at 11:33 PM, Jason G

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-06 Thread 858585 jemmy
On Sat, May 5, 2018 at 2:23 AM, Jason Gunthorpe wrote: > On Fri, May 04, 2018 at 04:51:15PM +0800, 858585 jemmy wrote: >> On Fri, May 4, 2018 at 11:14 AM, 858585 jemmy wrote: >> > On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe wrote: >> >> On Thu, May 03, 2018 at

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-04 Thread 858585 jemmy
On Fri, May 4, 2018 at 11:14 AM, 858585 jemmy <jemmy858...@gmail.com> wrote: > On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe <j...@ziepe.ca> wrote: >> On Thu, May 03, 2018 at 10:04:34PM +0800, Lidong Chen wrote: >>> The userspace may invoke ibv_reg_mr and ibv

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-04 Thread 858585 jemmy
On Fri, May 4, 2018 at 11:14 AM, 858585 jemmy wrote: > On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe wrote: >> On Thu, May 03, 2018 at 10:04:34PM +0800, Lidong Chen wrote: >>> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >>>

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-04 Thread 858585 jemmy
On Fri, May 4, 2018 at 6:01 AM, Jason Gunthorpe wrote: > On Thu, May 03, 2018 at 09:43:01PM +0300, Leon Romanovsky wrote: >> On Thu, May 03, 2018 at 12:26:56PM -0600, Jason Gunthorpe wrote: >> > On Thu, May 03, 2018 at 09:12:35PM +0300, Leon Romanovsky wrote: >> > > On Thu, May 03,

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-04 Thread 858585 jemmy
On Fri, May 4, 2018 at 6:01 AM, Jason Gunthorpe wrote: > On Thu, May 03, 2018 at 09:43:01PM +0300, Leon Romanovsky wrote: >> On Thu, May 03, 2018 at 12:26:56PM -0600, Jason Gunthorpe wrote: >> > On Thu, May 03, 2018 at 09:12:35PM +0300, Leon Romanovsky wrote: >> > > On Thu, May 03, 2018 at

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-03 Thread 858585 jemmy
On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe wrote: > On Thu, May 03, 2018 at 10:04:34PM +0800, Lidong Chen wrote: >> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >> If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has >> exited,

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-03 Thread 858585 jemmy
On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe wrote: > On Thu, May 03, 2018 at 10:04:34PM +0800, Lidong Chen wrote: >> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >> If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has >> exited, get_pid_task

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-03 Thread 858585 jemmy
On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe wrote: > On Thu, May 03, 2018 at 10:04:34PM +0800, Lidong Chen wrote: >> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >> If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has >> exited,

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-03 Thread 858585 jemmy
On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe wrote: > On Thu, May 03, 2018 at 10:04:34PM +0800, Lidong Chen wrote: >> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >> If when ibv_dereg_mr invoke and the thread which invoked ibv_reg_mr has >> exited, get_pid_task