On Sat, Dec 28, 2013 at 5:48 PM, Kirill Tkhai wrote:
> On Сб, дек 28, 2013 at 05:37:32 +0800, Zhi Yong Wu wrote:
>> On Sat, Dec 28, 2013 at 5:19 PM, Kirill Tkhai wrote:
>> > On Пт, дек 27, 2013 at 07:41:00 +0800, Zhi Yong Wu wrote:
>> >> From: Zhi Yong Wu
>&g
On Sat, Dec 28, 2013 at 5:19 PM, Kirill Tkhai wrote:
> On Пт, дек 27, 2013 at 07:41:00 +0800, Zhi Yong Wu wrote:
>> From: Zhi Yong Wu
>>
>> .switched_from shouldn't be initialized in the scope of CONFIG_SMP,
>> so this patch is trying to move it out.
>&
On Sat, Dec 28, 2013 at 5:19 PM, Kirill Tkhai tk...@yandex.ru wrote:
On Пт, дек 27, 2013 at 07:41:00 +0800, Zhi Yong Wu wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
.switched_from shouldn't be initialized in the scope of CONFIG_SMP,
so this patch is trying to move it out.
Signed-off
On Sat, Dec 28, 2013 at 5:48 PM, Kirill Tkhai tk...@yandex.ru wrote:
On Сб, дек 28, 2013 at 05:37:32 +0800, Zhi Yong Wu wrote:
On Sat, Dec 28, 2013 at 5:19 PM, Kirill Tkhai tk...@yandex.ru wrote:
On Пт, дек 27, 2013 at 07:41:00 +0800, Zhi Yong Wu wrote:
From: Zhi Yong Wu wu
From: Zhi Yong Wu
They were found when i review sched related src code.
Zhi Yong Wu (5):
sched, rt: move .switched_from out of the scope of CONFIG_SMP
sched, fair: fix the comment of move_tasks()
sched, fair: fix the typo in select_idle_sibling()
sched, fair: fix the comment
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
kernel/sched/fair.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index a82ae0a..db23d71 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -4191,7 +4191,7
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
kernel/sched/fair.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index db23d71..eaa1e91 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -4218,7 +4218,7 @@ done
From: Zhi Yong Wu
.switched_from shouldn't be initialized in the scope of CONFIG_SMP,
so this patch is trying to move it out.
Signed-off-by: Zhi Yong Wu
---
kernel/sched/rt.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
Documentation/scheduler/sched-arch.txt |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/scheduler/sched-arch.txt
b/Documentation/scheduler/sched-arch.txt
index 9290de7..0a7d252 100644
--- a/Documentation
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
kernel/sched/fair.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index c7395d9..a82ae0a 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -4982,7 +4982,7
From: Zhi Yong Wu
*** BLURB HERE ***
Zhi Yong Wu (5):
sched, rt: move .switched_from out of the scope of CONFIG_SMP
sched, fair: fix the comment of move_tasks()
sched, fair: fix the typo in select_idle_sibling()
sched, fair: fix the comment of select_task_rq_fair()
Documentation
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
*** BLURB HERE ***
Zhi Yong Wu (5):
sched, rt: move .switched_from out of the scope of CONFIG_SMP
sched, fair: fix the comment of move_tasks()
sched, fair: fix the typo in select_idle_sibling()
sched, fair: fix the comment of select_task_rq_fair
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
.switched_from shouldn't be initialized in the scope of CONFIG_SMP,
so this patch is trying to move it out.
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
kernel/sched/rt.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
Documentation/scheduler/sched-arch.txt |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/scheduler/sched-arch.txt
b/Documentation/scheduler/sched-arch.txt
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
kernel/sched/fair.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index c7395d9..a82ae0a 100644
--- a/kernel/sched/fair.c
+++ b
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
kernel/sched/fair.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index db23d71..eaa1e91 100644
--- a/kernel/sched/fair.c
+++ b
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
kernel/sched/fair.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index a82ae0a..db23d71 100644
--- a/kernel/sched/fair.c
+++ b
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
They were found when i review sched related src code.
Zhi Yong Wu (5):
sched, rt: move .switched_from out of the scope of CONFIG_SMP
sched, fair: fix the comment of move_tasks()
sched, fair: fix the typo in select_idle_sibling()
sched, fair: fix
}
> - }
> - }
> + if (unlikely(!skb))
> + return;
>
> hdr = skb_vnet_hdr(skb);
>
> --
> MST
>
> ___
> Virtualization mailing list
> virtualizat...@lists.lin
Yong Wu
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
exciting prospect). We are finding
which two ends do you mean?
> that guest to driver accelerations like this (and tso, lro) are quite
Sorry, i got a bit confused, the driver here mean "virtio_net" or tuntap driver?
> important in getting virtual networking performance up.
>
&g
HI, Tom,
On Wed, Dec 18, 2013 at 12:06 PM, Tom Herbert wrote:
> On Mon, Dec 16, 2013 at 11:26 PM, Zhi Yong Wu wrote:
>> From: Zhi Yong Wu
>>
>> The flow cache is an extremely broken concept, and it usually brings up
>> growth issues and DoS attacks, so this patch
On Tue, Dec 17, 2013 at 6:05 PM, Jason Wang wrote:
> On 12/17/2013 05:13 PM, Zhi Yong Wu wrote:
>> On Tue, Dec 17, 2013 at 4:49 PM, Jason Wang wrote:
>>> > On 12/17/2013 03:26 PM, Zhi Yong Wu wrote:
>>>> >> From: Zhi Yong Wu
>>>> >&
On Tue, Dec 17, 2013 at 4:49 PM, Jason Wang wrote:
> On 12/17/2013 03:26 PM, Zhi Yong Wu wrote:
>> From: Zhi Yong Wu
>>
>> The flow cache is an extremely broken concept, and it usually brings up
>> growth issues and DoS attacks, so this patch is trying to remove i
On Mon, 2013-12-16 at 23:47 -0800, Stephen Hemminger wrote:
> On Tue, 17 Dec 2013 15:26:22 +0800
> Zhi Yong Wu wrote:
>
> > From: Zhi Yong Wu
> >
> > The flow cache is an extremely broken concept, and it usually brings up
> > growth issues and DoS attacks,
On Mon, 2013-12-16 at 23:47 -0800, Stephen Hemminger wrote:
On Tue, 17 Dec 2013 15:26:22 +0800
Zhi Yong Wu zwu.ker...@gmail.com wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The flow cache is an extremely broken concept, and it usually brings up
growth issues and DoS attacks, so
On Tue, Dec 17, 2013 at 4:49 PM, Jason Wang jasow...@redhat.com wrote:
On 12/17/2013 03:26 PM, Zhi Yong Wu wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The flow cache is an extremely broken concept, and it usually brings up
growth issues and DoS attacks, so this patch is trying to remove
On Tue, Dec 17, 2013 at 6:05 PM, Jason Wang jasow...@redhat.com wrote:
On 12/17/2013 05:13 PM, Zhi Yong Wu wrote:
On Tue, Dec 17, 2013 at 4:49 PM, Jason Wang jasow...@redhat.com wrote:
On 12/17/2013 03:26 PM, Zhi Yong Wu wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The flow cache
HI, Tom,
On Wed, Dec 18, 2013 at 12:06 PM, Tom Herbert therb...@google.com wrote:
On Mon, Dec 16, 2013 at 11:26 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The flow cache is an extremely broken concept, and it usually brings up
growth issues and DoS
mean?
that guest to driver accelerations like this (and tso, lro) are quite
Sorry, i got a bit confused, the driver here mean virtio_net or tuntap driver?
important in getting virtual networking performance up.
Tom
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
drivers/net/tun.c
From: Zhi Yong Wu
The flow cache is an extremely broken concept, and it usually brings up
growth issues and DoS attacks, so this patch is trying to remove it from
the tuntap driver, and insteadly use a simpler way for its flow control.
Signed-off-by: Zhi Yong Wu
---
drivers/net/tun.c | 208
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The flow cache is an extremely broken concept, and it usually brings up
growth issues and DoS attacks, so this patch is trying to remove it from
the tuntap driver, and insteadly use a simpler way for its flow control.
Signed-off-by: Zhi Yong Wu wu
be a separate patch.
Good point, will apply it, thanks.
>
> Thanks,
> -Jeff
--
Regards,
Zhi Yong Wu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Sat, Dec 14, 2013 at 4:19 PM, Dave Chinner wrote:
> On Sat, Dec 14, 2013 at 01:36:47AM +0800, Zhi Yong Wu wrote:
>> On Sat, Dec 14, 2013 at 12:41 AM, Christoph Hellwig
>> wrote:
>> > On Fri, Dec 13, 2013 at 10:27:53PM +0800, Zhi Yong Wu wrote:
>> >> F
On Sat, Dec 14, 2013 at 4:19 PM, Dave Chinner da...@fromorbit.com wrote:
On Sat, Dec 14, 2013 at 01:36:47AM +0800, Zhi Yong Wu wrote:
On Sat, Dec 14, 2013 at 12:41 AM, Christoph Hellwig h...@infradead.org
wrote:
On Fri, Dec 13, 2013 at 10:27:53PM +0800, Zhi Yong Wu wrote:
From: Zhi Yong Wu
+return XFS_PROJID_DEFAULT;
+}
You could skip the else here.
Except that, I'd suggest we move this helper to proper header file with
further refactoring in xfs_symlink(), and it could be a separate patch.
Good point, will apply it, thanks.
Thanks,
-Jeff
--
Regards,
Zhi Yong Wu
On Sat, Dec 14, 2013 at 12:41 AM, Christoph Hellwig wrote:
> On Fri, Dec 13, 2013 at 10:27:53PM +0800, Zhi Yong Wu wrote:
>> From: Zhi Yong Wu
>>
>> Enable O_TMPFILE support in linkat().
>> For more info, please refer to:
>> http://oss.sgi.com/archives/xfs/2
On Sat, Dec 14, 2013 at 12:39 AM, Christoph Hellwig wrote:
> On Fri, Dec 13, 2013 at 10:27:52PM +0800, Zhi Yong Wu wrote:
>> From: Zhi Yong Wu
>>
>> Add a new O_TMPFILE method to VFS inteface.
>> For more info, please refer to:
>> http://oss.sgi.com/a
project id that you inherited from the parent here.
>
--
Regards,
Zhi Yong Wu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Sat, Dec 14, 2013 at 12:32 AM, Christoph Hellwig wrote:
> On Fri, Dec 13, 2013 at 10:27:50PM +0800, Zhi Yong Wu wrote:
>> From: Zhi Yong Wu
>>
>> There may be not a parent inode or a name for O_TMPFILE support, but will
>> pass
>> a struct xfs_mount to xfs_q
From: Zhi Yong Wu
There may be not a parent inode or a name for O_TMPFILE support, but will pass
a struct xfs_mount to xfs_qm_vop_dqalloc(). So its interface need to be
adjusted in order that O_TMPFILE creation function can also use it.
Signed-off-by: Zhi Yong Wu
---
fs/xfs/xfs_inode.c
From: Zhi Yong Wu
HI, folks
It's time to post out the first formal version, welcome to any constructive
comment, thanks.
If anyone is interested in playing with it, you can get this patchset from my
dev git on github:
git://github.com/wuzhy/kernel.git xfs_tmpfile
The patchset
From: Zhi Yong Wu
It will be reused by the O_TMPFILE creation function.
Signed-off-by: Zhi Yong Wu
---
fs/xfs/xfs_inode.c | 13 +
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 001aa89..e8b9a68 100644
--- a/fs/xfs
From: Zhi Yong Wu
Add a new O_TMPFILE method to VFS inteface.
For more info, please refer to:
http://oss.sgi.com/archives/xfs/2013-08/msg00336.html
Signed-off-by: Zhi Yong Wu
---
fs/xfs/xfs_iops.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git
From: Zhi Yong Wu
Enable O_TMPFILE support in linkat().
For more info, please refer to:
http://oss.sgi.com/archives/xfs/2013-08/msg00341.html
Signed-off-by: Zhi Yong Wu
---
fs/xfs/xfs_inode.c | 21 ++---
fs/xfs/xfs_trans_resv.c | 20
fs/xfs
From: Zhi Yong Wu
The function is used to create one O_TMPFILE file.
For more info, please refer to:
http://oss.sgi.com/archives/xfs/2013-08/msg00339.html
Signed-off-by: Zhi Yong Wu
---
fs/xfs/xfs_inode.c | 106 +++
fs/xfs/xfs_inode.h
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The function is used to create one O_TMPFILE file.
For more info, please refer to:
http://oss.sgi.com/archives/xfs/2013-08/msg00339.html
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
fs/xfs/xfs_inode.c | 106
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Enable O_TMPFILE support in linkat().
For more info, please refer to:
http://oss.sgi.com/archives/xfs/2013-08/msg00341.html
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
fs/xfs/xfs_inode.c | 21 ++---
fs/xfs
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Add a new O_TMPFILE method to VFS inteface.
For more info, please refer to:
http://oss.sgi.com/archives/xfs/2013-08/msg00336.html
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
fs/xfs/xfs_iops.c | 22 ++
1 files changed
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
HI, folks
It's time to post out the first formal version, welcome to any constructive
comment, thanks.
If anyone is interested in playing with it, you can get this patchset from my
dev git on github:
git://github.com/wuzhy/kernel.git
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
It will be reused by the O_TMPFILE creation function.
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
fs/xfs/xfs_inode.c | 13 +
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
There may be not a parent inode or a name for O_TMPFILE support, but will pass
a struct xfs_mount to xfs_qm_vop_dqalloc(). So its interface need to be
adjusted in order that O_TMPFILE creation function can also use it.
Signed-off-by: Zhi Yong Wu wu
On Sat, Dec 14, 2013 at 12:32 AM, Christoph Hellwig h...@infradead.org wrote:
On Fri, Dec 13, 2013 at 10:27:50PM +0800, Zhi Yong Wu wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
There may be not a parent inode or a name for O_TMPFILE support, but will
pass
a struct xfs_mount
inherited from the parent here.
--
Regards,
Zhi Yong Wu
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org
On Sat, Dec 14, 2013 at 12:39 AM, Christoph Hellwig h...@infradead.org wrote:
On Fri, Dec 13, 2013 at 10:27:52PM +0800, Zhi Yong Wu wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Add a new O_TMPFILE method to VFS inteface.
For more info, please refer to:
http://oss.sgi.com/archives/xfs
On Sat, Dec 14, 2013 at 12:41 AM, Christoph Hellwig h...@infradead.org wrote:
On Fri, Dec 13, 2013 at 10:27:53PM +0800, Zhi Yong Wu wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Enable O_TMPFILE support in linkat().
For more info, please refer to:
http://oss.sgi.com/archives/xfs/2013
Ping ^ 7
On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu wrote:
> From: Zhi Yong Wu
>
> The patchset is trying to introduce hot tracking function in
> VFS layer, which will keep track of real disk I/O in memory.
> By it, you will easily know more details about disk I/O, and
>
Ping ^ 7
On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu wrote:
> From: Zhi Yong Wu
>
> Introduce a /proc interface hot-mem-high-thresh and
> to cap the memory which is consumed by hot_inode_item
> and hot_range_item, and they will be in the unit of
> 1M bytes.
>
>
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
fs/eventfd.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/eventfd.c b/fs/eventfd.c
index 35470d9..710bf80 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -45,7 +45,7 @@ struct eventfd_ctx {
*
* This function
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
fs/eventfd.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/eventfd.c b/fs/eventfd.c
index 35470d9..710bf80 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -45,7 +45,7
Ping ^ 7
On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Introduce a /proc interface hot-mem-high-thresh and
to cap the memory which is consumed by hot_inode_item
and hot_range_item, and they will be in the unit of
1M
Ping ^ 7
On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The patchset is trying to introduce hot tracking function in
VFS layer, which will keep track of real disk I/O in memory.
By it, you will easily know more details
On Wed, Dec 11, 2013 at 11:19 AM, David Miller wrote:
> From: Zhi Yong Wu
> Date: Wed, 11 Dec 2013 11:14:04 +0800
>
>> Only one reminder, since David has committed the two patches, you
>> maybe need to take their impact on your patches into account.
>
> I reverted thes
id Miller wrote:
>>> From: Zhi Yong Wu
>>> Date: Sat, 7 Dec 2013 04:55:00 +0800
>>>
>>>> From: Zhi Yong Wu
>>>>
>>>> By checking related codes, it is impossible that ret > len or total_len,
>>>> so we should remove some
08:36 PM, David Miller wrote:
From: Zhi Yong Wu zwu.ker...@gmail.com
Date: Sat, 7 Dec 2013 04:55:00 +0800
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
By checking related codes, it is impossible that ret len or total_len,
so we should remove some useless codes in both above functions
On Wed, Dec 11, 2013 at 11:19 AM, David Miller da...@davemloft.net wrote:
From: Zhi Yong Wu zwu.ker...@gmail.com
Date: Wed, 11 Dec 2013 11:14:04 +0800
Only one reminder, since David has committed the two patches, you
maybe need to take their impact on your patches into account.
I reverted
pv6 support
>
> x...@mail.ru (2):
> iproute2: GRE over IPv6 tunnel support.
> iproute2: ip6gre: update man pages
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majord...@vger.ker
://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
Regards,
Zhi Yong Wu
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
From: Zhi Yong Wu
By checking related codes, it is impossible that ret > len or total_len,
so we should remove some useless codes in both above functions.
Signed-off-by: Zhi Yong Wu
---
drivers/net/tun.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/
From: Zhi Yong Wu
By checking related codes, it is impossible that ret > len or total_len,
so we should remove some useless coeds in both above functions.
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/driv
On Sat, Dec 7, 2013 at 1:45 AM, David Miller wrote:
> From: Zhi Yong Wu
> Date: Fri, 6 Dec 2013 17:08:50 +0800
>
>> From: Zhi Yong Wu
>>
>> Signed-off-by: Zhi Yong Wu
>
> Also applied and queued up for -stable, thanks.
>
> I noticed in these two cas
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 9093004..f599c47 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -588,7
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/tun.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 782e38b..f9c935a 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1289,8 +1289,7 @@ done
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index f599c47..4c6f84c 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -819,7
From: Zhi Yong Wu
Since net-next is open now, it's time to post them out again.
Changelog from v3:
-combine the change that removes the return value check with
the change which adjusts the function return type to "void". [David Miller]
Zhi Yong Wu (4):
vhost: remove the d
From: Zhi Yong Wu
Since vhost_dev_init() forever return 0, some branches are never run,
therefore need to be removed.
Signed-off-by: Zhi Yong Wu
Acked-by: Michael S. Tsirkin
---
drivers/vhost/net.c |9 ++---
drivers/vhost/scsi.c |7 +--
drivers/vhost/test.c |8
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 9093004..e6e2dd6 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -876,6 +876,8
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/tun.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 782e38b..c8ddbd0 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1356,6 +1356,8 @@ static ssize_t
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
drivers/net/tun.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 782e38b..c8ddbd0 100644
--- a/drivers/net/tun.c
+++ b/drivers
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
drivers/net/macvtap.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 9093004..e6e2dd6 100644
--- a/drivers/net
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Since vhost_dev_init() forever return 0, some branches are never run,
therefore need to be removed.
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
Acked-by: Michael S. Tsirkin m...@redhat.com
---
drivers/vhost/net.c |9 ++---
drivers
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Since net-next is open now, it's time to post them out again.
Changelog from v3:
-combine the change that removes the return value check with
the change which adjusts the function return type to void. [David Miller]
Zhi Yong Wu (4):
vhost: remove
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
drivers/net/tun.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 782e38b..f9c935a 100644
--- a/drivers/net/tun.c
+++ b
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
drivers/net/macvtap.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index f599c47..4c6f84c 100644
--- a/drivers/net
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
drivers/net/macvtap.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 9093004..f599c47 100644
--- a/drivers/net
On Sat, Dec 7, 2013 at 1:45 AM, David Miller da...@davemloft.net wrote:
From: Zhi Yong Wu zwu.ker...@gmail.com
Date: Fri, 6 Dec 2013 17:08:50 +0800
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
Also applied and queued up for -stable, thanks
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
By checking related codes, it is impossible that ret len or total_len,
so we should remove some useless coeds in both above functions.
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
drivers/net/macvtap.c |5 -
1 files changed, 0
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
By checking related codes, it is impossible that ret len or total_len,
so we should remove some useless codes in both above functions.
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
drivers/net/tun.c |5 -
1 files changed, 0
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 9093004..d271fb4 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -779,8 +779,6
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
Acked-by: Michael S. Tsirkin
---
drivers/vhost/net.c |4 ++--
drivers/vhost/scsi.c |2 +-
drivers/vhost/test.c |3 +--
drivers/vhost/vhost.c |4 +---
drivers/vhost/vhost.h |2 +-
5 files changed, 6 insertions(+), 9 deletions
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index f599c47..4c6f84c 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -819,7
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index d271fb4..f599c47 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -588,7
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/tun.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 782e38b..f9c935a 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1289,8 +1289,7 @@ done
From: Zhi Yong Wu
Since net-next is open now, it's time to post them again.
Zhi Yong Wu (6):
vhost: remove the dead branch
vhost: adjust vhost_dev_init() to be void
macvtap: remove the dead branch
macvtap: adjust macvtap_skb_to_vnet_hdr() to be void
macvtap: remove unused parameter
From: Zhi Yong Wu
Since vhost_dev_init() forever return 0, some branches are never run,
therefore need to be removed.
Signed-off-by: Zhi Yong Wu
Acked-by: Michael S. Tsirkin
---
drivers/vhost/net.c |5 -
drivers/vhost/scsi.c |5 -
drivers/vhost/test.c |5 -
3 files
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 9093004..957cc5c 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -876,6 +876,8
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/tun.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 782e38b..e26cbea 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1356,6 +1356,8 @@ static ssize_t
On Fri, Dec 6, 2013 at 2:08 PM, Guenter Roeck wrote:
> On 12/05/2013 02:28 PM, Zhi Yong Wu wrote:
>>
>> From: Zhi Yong Wu
>>
>> Signed-off-by: Zhi Yong Wu
>> ---
>> drivers/net/macvtap.c |2 --
>> 1 files changed, 0 insertions(+), 2 deletions(
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
drivers/net/macvtap.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 9093004..d271fb4 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -779,8 +779,6
From: Zhi Yong Wu
Since vhost_dev_init() forever return 0, some branches are never run,
therefore need to be removed.
Signed-off-by: Zhi Yong Wu
Acked-by: Michael S. Tsirkin
---
drivers/vhost/net.c |5 -
drivers/vhost/scsi.c |5 -
drivers/vhost/test.c |5 -
3 files
1 - 100 of 472 matches
Mail list logo