Re: [PATCH 1/5] sched, rt: move .switched_from out of the scope of CONFIG_SMP

2013-12-28 Thread Zhi Yong Wu
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

Re: [PATCH 1/5] sched, rt: move .switched_from out of the scope of CONFIG_SMP

2013-12-28 Thread Zhi Yong Wu
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

[PATCH 0/5] Sched: Some trivial typo fixes

2013-12-27 Thread Zhi Yong Wu
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

[PATCH 1/5] sched, rt: move .switched_from out of the scope of CONFIG_SMP

2013-12-27 Thread Zhi Yong Wu
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

[PATCH 5/5] Documentation, sched-arch.txt: fix the incorrect syntax

2013-12-27 Thread Zhi Yong Wu
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

[PATCH 2/5] sched, fair: fix the comment of move_tasks()

2013-12-27 Thread Zhi Yong Wu
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

[PATCH 4/5] sched, fair: fix the comment of select_task_rq_fair()

2013-12-27 Thread Zhi Yong Wu
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

[PATCH 3/5] sched, fair: fix the typo in select_idle_sibling()

2013-12-27 Thread Zhi Yong Wu
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

[PATCH 0/5] Sched: Some trivial typo fixes

2013-12-27 Thread Zhi Yong Wu
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

Re: [PATCH stable 2/2] virtio-net: make all RX paths handle erors consistently

2013-12-25 Thread Zhi Yong Wu
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/

Re: [RFC PATCH] net, tun: remove the flow cache

2013-12-17 Thread Zhi Yong Wu
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

Re: [RFC PATCH] net, tun: remove the flow cache

2013-12-17 Thread Zhi Yong Wu
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

Re: [RFC PATCH] net, tun: remove the flow cache

2013-12-17 Thread Zhi Yong Wu
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

Re: [RFC PATCH] net, tun: remove the flow cache

2013-12-17 Thread Zhi Yong Wu
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

Re: [RFC PATCH] net, tun: remove the flow cache

2013-12-17 Thread Zhi Yong Wu
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

[RFC PATCH] net, tun: remove the flow cache

2013-12-16 Thread Zhi Yong Wu
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

Re: [PATCH 5/5] xfs: allow linkat() on O_TMPFILE files

2013-12-14 Thread Zhi Yong Wu
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

Re: [PATCH 1/5] xfs: factor prid related codes into xfs_get_initial_prid()

2013-12-14 Thread 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

[PATCH 3/5] xfs: add xfs_create_tmpfile() for O_TMPFILE support

2013-12-13 Thread Zhi Yong Wu
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

[PATCH 5/5] xfs: allow linkat() on O_TMPFILE files

2013-12-13 Thread Zhi Yong Wu
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

[PATCH 4/5] xfs: add a new method xfs_vn_tmpfile()

2013-12-13 Thread Zhi Yong Wu
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

[PATCH 0/5] xfs: add O_TMPFILE support

2013-12-13 Thread Zhi Yong Wu
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

[PATCH 1/5] xfs: factor prid related codes into xfs_get_initial_prid()

2013-12-13 Thread Zhi Yong Wu
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

[PATCH 2/5] xfs: adjust the interface of xfs_qm_vop_dqalloc()

2013-12-13 Thread Zhi Yong Wu
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

Re: [PATCH 2/5] xfs: adjust the interface of xfs_qm_vop_dqalloc()

2013-12-13 Thread Zhi Yong 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

Re: [PATCH 3/5] xfs: add xfs_create_tmpfile() for O_TMPFILE support

2013-12-13 Thread Zhi Yong Wu
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

Re: [PATCH 4/5] xfs: add a new method xfs_vn_tmpfile()

2013-12-13 Thread Zhi Yong Wu
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

Re: [PATCH 5/5] xfs: allow linkat() on O_TMPFILE files

2013-12-13 Thread Zhi Yong Wu
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

[PATCH] vfs, eventfd: fix the typo

2013-12-11 Thread Zhi Yong Wu
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

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-12-11 Thread Zhi Yong Wu
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

Re: [PATCH v6 00/11] VFS hot tracking

2013-12-11 Thread Zhi Yong Wu
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

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread Zhi Yong Wu
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

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread Zhi Yong Wu
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

Re: [ANNOUNCE] iproute2 3.12.0 release

2013-12-08 Thread Zhi Yong Wu
://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

[PATCH v2 2/2] tun: update file current position

2013-12-06 Thread Zhi Yong Wu
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

[PATCH v2 1/2] macvtap: update file current position

2013-12-06 Thread Zhi Yong Wu
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

[PATCH v4 net-next 1/4] vhost: remove the dead branch

2013-12-06 Thread Zhi Yong Wu
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

[PATCH v4 net-next 0/4] net: some cleanups

2013-12-06 Thread Zhi Yong Wu
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

[PATCH v4 net-next 4/4] tun: remove unused parameter in tun_do_read()

2013-12-06 Thread Zhi Yong Wu
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

[PATCH v4 net-next 3/4] macvtap: remove unused parameter in macvtap_do_read()

2013-12-06 Thread Zhi Yong Wu
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

[PATCH v4 net-next 2/4] macvtap: remove the dead branch

2013-12-06 Thread Zhi Yong Wu
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

Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread Zhi Yong Wu
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

[PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-06 Thread Zhi Yong Wu
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

[PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-06 Thread Zhi Yong Wu
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

[net-next PATCH 5/6] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
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 f599c47..4914d85 100644 --- a/drivers/net

[net-next PATCH 2/6] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

[net-next PATCH 6/6] macvtap: remove unused paramter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
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 4914d85..4a34bcb 100644 --- a/drivers/net

[net-next PATCH 4/6] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
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, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net

[net-next PATCH 0/6] some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since net-next is open now, it's time to post them out 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

[net-next PATCH 1/6] vhost: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
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 |5 - drivers/vhost

[net-next PATCH 3/6] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
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, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..d271fb4 100644 --- a/drivers/net

Re: [PATCH 1/2] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
On Fri, Dec 6, 2013 at 9:44 AM, David Miller da...@davemloft.net wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Wed, 4 Dec 2013 17:29:00 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com The tun driver seems to have the same exact

[net-next PATCHv2 0/8] net: some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since net-next is open now, it's time to post them out again. Zhi Yong Wu (8): 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

[net-next PATCHv2 4/8] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
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, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net

[net-next PATCHv2 5/8] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
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 f599c47..4914d85 100644 --- a/drivers/net

[net-next PATCHv2 2/8] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

[net-next PATCHv2 8/8] tun: remove unused parameter in tun_do_read()

2013-12-05 Thread Zhi Yong Wu
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 e26cbea..fd8cc47 100644 --- a/drivers/net/tun.c +++ b

[net-next PATCHv2 7/8] tun: update file current position

2013-12-05 Thread Zhi Yong Wu
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..e26cbea 100644 --- a/drivers/net/tun.c +++ b/drivers

[net-next PATCHv2 6/8] macvtap: remove unused parameter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
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 4914d85..4a34bcb 100644 --- a/drivers/net

[net-next PATCHv2 1/8] vhost: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
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 |5 - drivers/vhost

[net-next PATCHv2 3/8] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
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, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..d271fb4 100644 --- a/drivers/net

Re: [net-next PATCH 3/6] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
On Fri, Dec 6, 2013 at 2:08 PM, Guenter Roeck li...@roeck-us.net wrote: On 12/05/2013 02:28 PM, Zhi Yong Wu wrote: 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, 0 insertions(+), 2

[PATCH 1/2] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
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..957cc5c 100644 --- a/drivers/net

[PATCH 2/2] tun: update file current position

2013-12-05 Thread Zhi Yong Wu
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..e26cbea 100644 --- a/drivers/net/tun.c +++ b/drivers

[net-next PATCH v3 0/6] net: some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com 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

[net-next PATCH v3 1/6] vhost: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
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 |5 - drivers/vhost

[net-next PATCH v3 6/6] tun: remove unused parameter in tun_do_read()

2013-12-05 Thread Zhi Yong Wu
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

[net-next PATCH v3 5/6] macvtap: remove unused parameter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
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

[net-next PATCH v3 4/6] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
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, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net

[net-next PATCH v3 2/6] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

[net-next PATCH v3 3/6] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
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, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..d271fb4 100644 --- a/drivers/net

[PATCH 1/2] macvtap: update file current position

2013-12-04 Thread Zhi Yong Wu
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..957cc5c 100644 --- a/drivers/net

[PATCH 2/2] macvtap: remove unused paramter in macvtap_do_read()

2013-12-04 Thread Zhi Yong Wu
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 957cc5c..c0d412e 100644 --- a/drivers/net

Re: [PATCH v6 00/11] VFS hot tracking

2013-12-03 Thread Zhi Yong Wu
Ping 6, any reason why this patchset can't get reviewed so far? If no comments, pls merge them. Please don't force me to be impolite, thanks. On Sat, Nov 30, 2013 at 5:55 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: HI, Ping again On Thu, Nov 21, 2013 at 9:57 PM, Zhi Yong Wu zwu.ker

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-30 Thread Zhi Yong Wu
HI, Ping again On Thu, Nov 21, 2013 at 9:57 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: HI, Maintainers Ping again On Thu, Nov 14, 2013 at 2:33 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: Ping On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: From: Zhi

[RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Per David's request, it's time to resend them now. Zhi Yong Wu (4): 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 drivers/net

[RESEND PATCH net-next 2/4] vhost: adjust vhost_dev_init() to be void

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

[RESEND PATCH net-next 4/4] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-11-27 Thread Zhi Yong Wu
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, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index eeb1a97..155d60e 100644 --- a/drivers/net

[RESEND PATCH net-next 3/4] macvtap: remove the dead branch

2013-11-27 Thread Zhi Yong Wu
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, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index dc76670..eeb1a97 100644 --- a/drivers/net

[RESEND PATCH net-next 1/4] vhost: remove the dead branch

2013-11-27 Thread Zhi Yong Wu
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 |5 - drivers/vhost

Re: [RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread Zhi Yong Wu
On Thu, Nov 28, 2013 at 12:43 PM, David Miller da...@davemloft.net wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Thu, 28 Nov 2013 09:31:29 +0800 Per David's request, it's time to resend them now. No, it is not the time. You should not submit these kinds of patches until the net-next

[PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/virtio_net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
On Mon, Nov 18, 2013 at 5:50 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 04:46:20PM +0800, Zhi Yong Wu wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off

Re: [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
On Mon, Nov 18, 2013 at 6:15 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 06:07:45PM +0800, Zhi Yong Wu wrote: On Mon, Nov 18, 2013 at 5:50 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 04:46:20PM +0800, Zhi Yong Wu wrote: From: Zhi Yong Wu wu

[PATCH 1/2] vhost: remove the dead branch

2013-11-18 Thread Zhi Yong Wu
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 |5 - drivers/vhost

[PATCH] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/net/virtio_net.c |4 ++-- 1 files

[PATCH 2/2] vhost: adjust vhost_dev_init() to be void

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-13 Thread Zhi Yong Wu
Ping 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

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-12 Thread Zhi Yong Wu
On Wed, Nov 13, 2013 at 1:05 AM, Dave Hansen dave.han...@intel.com wrote: On 11/11/2013 02:45 PM, Zhi Yong Wu wrote: On Tue, Nov 12, 2013 at 6:15 AM, Dave Hansen dave.han...@intel.com wrote: In general, why do you have to control the number of these statically? It gives the user or admin one

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-12 Thread Zhi Yong Wu
On Wed, Nov 13, 2013 at 5:02 AM, Dave Hansen dave.han...@intel.com wrote: On 11/12/2013 12:38 PM, Zhi Yong Wu wrote: On Wed, Nov 13, 2013 at 1:05 AM, Dave Hansen dave.han...@intel.com wrote: The on/off knob seems to me to be something better left to a mount option, not a global tunable

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-11 Thread Zhi Yong Wu
ping? any plan to review? 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

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-11 Thread Zhi Yong Wu
On Tue, Nov 12, 2013 at 6:15 AM, Dave Hansen dave.han...@intel.com wrote: On 11/06/2013 05:45 AM, Zhi Yong Wu wrote: 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. You

[PATCH 3/3] mm, memory-failure: fix the typo in me_pagecache_dirty()

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- mm/memory-failure.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index bf3351b..d8ec181 100644 --- a/mm/memory-failure.c +++ b

[PATCH 1/3] mm, slub: fix the typo in include/linux/slub_def.h

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- include/linux/slub_def.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index cc0b67e..f56bfa9 100644 --- a/include

[PATCH 2/3] mm, slub: fix the typo in mm/slub.c

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- mm/slub.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index c3eb3d3..7a64327 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -155,7 +155,7

Re: [PATCH] update xfs maintainers

2013-11-08 Thread Zhi Yong Wu
, 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/

[PATCH v6 00/11] VFS hot tracking

2013-11-06 Thread Zhi Yong Wu
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 about disk I/O, and then detect where disk I/O hot spots are. Also, specific FS can take

[PATCH v6 02/11] VFS hot tracking: Track IO and record heat information

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com This patch adds read/write code paths: include read_pages(), do_writepages(), do_generic_file_read() and __blockdev_direct_IO() to record heat information. When real disk i/o for an inode is done, its own hot_inode_item will be created or updated

[PATCH v6 04/11] VFS hot tracking: Add shrinker functionality to curtail memory usage

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Register a shrinker to control the amount of memory that is used in tracking hot regions. If we are throwing inodes out of memory due to memory pressure, we most definitely are going to need to reduce the amount of memory the tracking code is using, even

[PATCH v6 05/11] VFS hot tracking: Add an ioctl to get hot tracking information

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com FS_IOC_GET_HEAT_INFO: return a struct containing the various metrics collected in hot_freq_data structs, and also return a calculated data temperature based on those metrics. Optionally, retrieve the temperature from the hot data hash list instead

  1   2   3   >