[PATCH 08/12] VMCI: resource object implementation.

2013-01-08 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_resource.c | 229 + drivers/misc/vmw_vmci/vmci_resource.h | 59 + 2 files changed,

[PATCH 08/12] VMCI: resource object implementation.

2013-01-08 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang georgezh...@vmware.com Acked-by: Andy king ack...@vmware.com Acked-by: Dmitry Torokhov d...@vmware.com --- drivers/misc/vmw_vmci/vmci_resource.c | 229 +

[PATCH 08/12] VMCI: resource object implementation.

2012-11-21 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files

[PATCH 08/12] VMCI: resource object implementation.

2012-11-21 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_resource.c | 232 +

[PATCH 08/12] VMCI: resource object implementation.

2012-11-07 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 291 insertions(+), 0 deletions(-) create mode

[PATCH 08/12] VMCI: resource object implementation.

2012-11-07 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang georgezh...@vmware.com --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 291 insertions(+), 0

[PATCH 08/12] VMCI: resource object implementation.

2012-11-01 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 291 insertions(+), 0 deletions(-) create mode

[PATCH 08/12] VMCI: resource object implementation.

2012-11-01 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang georgezh...@vmware.com --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 291 insertions(+), 0

Re: [Pv-drivers] [PATCH 08/12] VMCI: resource object implementation.

2012-10-30 Thread Dmitry Torokhov
On Tuesday, October 30, 2012 08:51:59 AM Greg KH wrote: > On Mon, Oct 29, 2012 at 10:20:16PM -0700, Dmitry Torokhov wrote: > > On Mon, Oct 29, 2012 at 07:29:05PM -0700, Greg KH wrote: > > > On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: > > > > +static struct vmci_resource

Re: [Pv-drivers] [PATCH 08/12] VMCI: resource object implementation.

2012-10-30 Thread Greg KH
On Mon, Oct 29, 2012 at 10:20:16PM -0700, Dmitry Torokhov wrote: > On Mon, Oct 29, 2012 at 07:29:05PM -0700, Greg KH wrote: > > On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: > > > +static struct vmci_resource *vmci_resource_lookup(struct vmci_handle > > > handle) > > > +{ > > > +

Re: [Pv-drivers] [PATCH 08/12] VMCI: resource object implementation.

2012-10-30 Thread Greg KH
On Mon, Oct 29, 2012 at 10:20:16PM -0700, Dmitry Torokhov wrote: On Mon, Oct 29, 2012 at 07:29:05PM -0700, Greg KH wrote: On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: +static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle) +{ + struct

Re: [Pv-drivers] [PATCH 08/12] VMCI: resource object implementation.

2012-10-30 Thread Dmitry Torokhov
On Tuesday, October 30, 2012 08:51:59 AM Greg KH wrote: On Mon, Oct 29, 2012 at 10:20:16PM -0700, Dmitry Torokhov wrote: On Mon, Oct 29, 2012 at 07:29:05PM -0700, Greg KH wrote: On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: +static struct vmci_resource

Re: [Pv-drivers] [PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread Dmitry Torokhov
On Mon, Oct 29, 2012 at 07:29:46PM -0700, Greg KH wrote: > On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: > > VMCI resource tracks all used resources within the vmci code. > > Same "kref_put() with no lock seen" question in this file, prove me > wrong please. Same proof as with

Re: [Pv-drivers] [PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread Dmitry Torokhov
On Mon, Oct 29, 2012 at 07:29:05PM -0700, Greg KH wrote: > On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: > > +static struct vmci_resource *vmci_resource_lookup(struct vmci_handle > > handle) > > +{ > > + struct vmci_resource *r, *resource = NULL; > > + struct hlist_node *node;

Re: [PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: > VMCI resource tracks all used resources within the vmci code. Same "kref_put() with no lock seen" question in this file, prove me wrong please. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: > +static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle) > +{ > + struct vmci_resource *r, *resource = NULL; > + struct hlist_node *node; > + unsigned int idx = vmci_resource_hash(handle); > + > +

[PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 237 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 296 insertions(+), 0 deletions(-) create mode

[PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang georgezh...@vmware.com --- drivers/misc/vmw_vmci/vmci_resource.c | 237 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 296 insertions(+), 0

Re: [PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: +static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle) +{ + struct vmci_resource *r, *resource = NULL; + struct hlist_node *node; + unsigned int idx = vmci_resource_hash(handle); + +

Re: [PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: VMCI resource tracks all used resources within the vmci code. Same kref_put() with no lock seen question in this file, prove me wrong please. thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [Pv-drivers] [PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread Dmitry Torokhov
On Mon, Oct 29, 2012 at 07:29:05PM -0700, Greg KH wrote: On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: +static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle) +{ + struct vmci_resource *r, *resource = NULL; + struct hlist_node *node; +

Re: [Pv-drivers] [PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread Dmitry Torokhov
On Mon, Oct 29, 2012 at 07:29:46PM -0700, Greg KH wrote: On Mon, Oct 29, 2012 at 06:04:58PM -0700, George Zhang wrote: VMCI resource tracks all used resources within the vmci code. Same kref_put() with no lock seen question in this file, prove me wrong please. Same proof as with others,