Re: [vdpa_sim_net] 79991caf52: net/ipv4/ipmr.c:#RCU-list_traversed_in_non-reader_section

2021-02-08 Thread Joe Jin
On 2/7/21 12:15 PM, Dongli Zhang wrote: > Is it possible that the issue is not due to this change? Looks this issue does not related your change, from dmesg output, when issue occurred, virtio was not loaded: [  502.508450] [ cut here ] [  502.511859] WARNING: CPU: 0 PID:

Re: [PATCH v2 1/1] vhost scsi: alloc vhost_scsi with kvzalloc() to avoid delay

2021-02-01 Thread Joe Jin
ize to allocate is more than >> PAGE_SZIE and when __GFP_RETRY_MAYFAIL is not explicitly set. >> >> Cc: Aruna Ramakrishna >> Cc: Joe Jin >> Signed-off-by: Dongli Zhang >> --- >> Changed since v1: >>    - To combine kzalloc() and vzalloc() as kvzalloc()

[PATCH V3 2/2] xen-netfront: limit vnic max_queues number to online cpus

2015-10-23 Thread Joe Jin
Should not allocate vnic queues number more than online cpus. Signed-off-by: Joe Jin Cc: Jan Beulich Cc: Wei Liu Cc: Ian Campbell Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk --- drivers/net/xen-netfront.c | 28 ++-- 1 files changed, 22 insertions(+), 6 deletions

[PATCH V3 1/2] xen-netback: limit xen vif max queues number to online cpus

2015-10-23 Thread Joe Jin
Should not allocate xen vif queues number more than online cpus. Signed-off-by: Joe Jin Cc: Jan Beulich Cc: Wei Liu Cc: Ian Campbell Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk --- drivers/net/xen-netback/netback.c | 28 ++-- 1 files changed, 22 insertions(+), 6

[PATCH V3 0/2] limit xen vnic max queues number to online cpus number

2015-10-23 Thread Joe Jin
. Joe Jin (2): xen-netback: limit xen vif max queues number to online cpus xen-netfront: limit vnic max_queues number to online cpus --- Changes in v3: - Corrected the range info [1-CPUs]. Changes in v2: - Replace param_get_int to param_get_uint. - Use '%u' for unsigned int

Re: [PATCH V2 2/2] xen-netfront: limit vnic max_queues number to online cpus

2015-10-23 Thread Joe Jin
es %u is out of range [0 - %u]!\n", > > I suppose you mean "...[1 - %u]!\n" here? Yes you are right, you catch my fault again :) Thanks so much, will resend new later. Regards, Joe > Jan > -- Oracle <http://www.oracle.com> Joe Jin | Software Development Dire

[PATCH V2 2/2] xen-netfront: limit vnic max_queues number to online cpus

2015-10-23 Thread Joe Jin
Should not allocate vnic queues number more than online cpus. Signed-off-by: Joe Jin Cc: Jan Beulich Cc: Wei Liu Cc: Ian Campbell Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk --- drivers/net/xen-netfront.c | 28 ++-- 1 files changed, 22 insertions(+), 6 deletions

[PATCH V2 1/2] xen-netback: limit xen vif max queues number to online cpus

2015-10-23 Thread Joe Jin
Should not allocate xen vif queues number more than online cpus. Signed-off-by: Joe Jin Cc: Jan Beulich Cc: Wei Liu Cc: Ian Campbell Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk --- drivers/net/xen-netback/netback.c | 28 ++-- 1 files changed, 22 insertions(+), 6

[PATCH V2 0/2] limit xen vnic max queues number to online cpus number

2015-10-23 Thread Joe Jin
. Joe Jin (2): xen-netback: limit xen vif max queues number to online cpus xen-netfront: limit vnic max_queues number to online cpus --- Changes in v2: - Replace param_get_int to param_get_uint. - Use '%u' for unsigned int when print. - Replace EINVAL to ERANGE when out of ran

Re: [PATCH 0/2] limit xen vnic max queues number to online cpu number

2015-10-23 Thread Joe Jin
On 10/23/2015 04:47 PM, Paul Durrant wrote: >> -Original Message- >> From: netdev-ow...@vger.kernel.org [mailto:netdev- >> ow...@vger.kernel.org] On Behalf Of Joe Jin >> Sent: 23 October 2015 08:54 >> To: Wei Liu; Ian Campbell; Boris Ostrovsky; Konrad Rzes

Re: [Xen-devel] [PATCH 1/2] xen-netback: limit xen vif max queues number to online cpus

2015-10-23 Thread Joe Jin
as many queues as there are CPUs if user has not >> - * specified a value. >> - */ >> -if (xenvif_max_queues == 0) >> -xenvif_max_queues = num_online_cpus(); >> +/* Allow at most as many queues as CPUs. */ >> +if (xenvif_max_queues ==

[PATCH 2/2] xen-front: limit vnic max_queues number to online cpus

2015-10-23 Thread Joe Jin
Should not allocate vnic queues number more than online cpus. Signed-off-by: Joe Jin Cc: Wei Liu Cc: Ian Campbell Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk --- drivers/net/xen-netfront.c | 27 +-- 1 files changed, 21 insertions(+), 6 deletions(-) diff --git a

[PATCH 1/2] xen-netback: limit xen vif max queues number to online cpus

2015-10-23 Thread Joe Jin
Should not allocate xen vif queues number more than online cpus. Signed-off-by: Joe Jin Cc: Wei Liu Cc: Ian Campbell Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk --- drivers/net/xen-netback/netback.c | 28 ++-- 1 files changed, 22 insertions(+), 6 deletions

[PATCH 0/2] limit xen vnic max queues number to online cpu number

2015-10-23 Thread Joe Jin
Currently xen vnic allowed to create lots of queues by set module param max_queues(both netback and netfront), when queues number larger than cpu number, it does not help for performance but need more cpu time. This patchset limit netback and netfront max queues number to online cpus number. Joe

Re: [Xen-devel] [PATCH 1/1] xen-netfront: limit max queues number to online cpus

2015-10-23 Thread Joe Jin
We need to take care sysfs too, please ignore this patch, I'll create new one later for review and comment. Thanks, Joe On 10/23/2015 08:50 AM, Joe Jin wrote: > Should not allocate queues number more than online cpus. > > Signed-off-by: Joe Jin > Cc: Boris Ostrovsky > Cc: K

[PATCH 1/1] xen-netfront: limit max queues number to online cpus

2015-10-22 Thread Joe Jin
Should not allocate queues number more than online cpus. Signed-off-by: Joe Jin Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk Cc: David S. Miller --- drivers/net/xen-netfront.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/xen-netfront.c b/drivers/net

[PATCH v2 1/1] xen-netfront: update num_queues to real created

2015-10-18 Thread Joe Jin
Sometimes xennet_create_queues() may failed to created all requested queues, we need to update num_queues to real created to avoid NULL pointer dereference. Signed-off-by: Joe Jin Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk Cc: Wei Liu Cc: Ian Campbell Cc: David S. Miller --- drivers/net

[PATCH 1/1] xen-netfront: update num_queues to real created

2015-10-14 Thread Joe Jin
Sometimes xennet_create_queues() may failed to created all requested queues, we need to update num_queues to real created to avoid NULL pointer dereference. Signed-off-by: Joe Jin Cc: Wei Liu Cc: Ian Campbell Cc: David S. Miller --- drivers/net/xen-netfront.c |9 ++--- 1 files

[PATCH] [ipv6]: adjust inet6_exit() cleanup sequence against inet6_init()

2007-02-09 Thread Joe Jin
() called first, then call addrconf_init(). Signed-off-by: Joe Jin <[EMAIL PROTECTED]> --- linux-2.6.20/net/ipv6/af_inet6.c.orig 2007-02-09 14:05:10.0 +0800 +++ linux-2.6.20/net/ipv6/af_inet6.c2007-02-09 14:21:54.0 +0800 @@ -930,25 +930,28 @@ { /* First

[BUG] kernel panic on T60 by e1000 driver

2006-09-17 Thread Joe Jin
ontroller 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller From the panic information, I think it maybe caused by nic driver could others also met this? Thanks. -- Rega

Re: [take10 1/2] kevent: Core files.

2006-08-18 Thread Joe Jin
+static int __devinit kevent_user_init(void) +{ + int err = 0; + + err = kevent_sys_init(); + if (err) + panic("%s: failed to initialize kevent: err=%d.\n", err); Here should be? panic("%s: failed to initialize kevent: err=%d\n", kevent_name, er