Re: [PATCH] taskstats: Add e/u/stime for TGID command

2017-03-07 Thread ZhangXiao
在 2017年03月07日 06:40, Andrew Morton 写道: > On Fri, 3 Mar 2017 10:33:44 +0800 Zhang Xiao wrote: > >> Add elapsed time, user CPU time and system CPU time to >> thread group status request. >> >> --- a/kernel/taskstats.c >> +++ b/kernel/taskstats.c >> @@ -210,6 +210,7 @@

Re: [PATCH] taskstats: Add e/u/stime for TGID command

2017-03-07 Thread ZhangXiao
在 2017年03月07日 06:40, Andrew Morton 写道: > On Fri, 3 Mar 2017 10:33:44 +0800 Zhang Xiao wrote: > >> Add elapsed time, user CPU time and system CPU time to >> thread group status request. >> >> --- a/kernel/taskstats.c >> +++ b/kernel/taskstats.c >> @@ -210,6 +210,7 @@ static int

bug report, DEBUG_LOCKS_WARN_ON at kernel/locking/lockdep.c:3646 check_flags

2016-05-23 Thread ZhangXiao
Hi Experts, With ARM , versatile-pb When I enable PROVE_LOCKING, DEBUG_LOCKDEP and KPROBES_SANITY_TEST, there will be a call trace like below: Kprobe smoke test: started [ cut here ] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3646 check_flags+0xdc/0x200

bug report, DEBUG_LOCKS_WARN_ON at kernel/locking/lockdep.c:3646 check_flags

2016-05-23 Thread ZhangXiao
Hi Experts, With ARM , versatile-pb When I enable PROVE_LOCKING, DEBUG_LOCKDEP and KPROBES_SANITY_TEST, there will be a call trace like below: Kprobe smoke test: started [ cut here ] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3646 check_flags+0xdc/0x200

Re: [dm-devel] The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-03 Thread zhangxiao
On 2014年12月03日 22:19, Joe Thornber wrote: On Tue, Dec 02, 2014 at 09:00:17AM -0500, Mike Snitzer wrote: On Tue, Dec 02 2014 at 3:43am -0500, zhangxiao wrote: Hi Experts, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20

Re: [dm-devel] The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-03 Thread zhangxiao
On 2014年12月03日 22:19, Joe Thornber wrote: On Tue, Dec 02, 2014 at 09:00:17AM -0500, Mike Snitzer wrote: On Tue, Dec 02 2014 at 3:43am -0500, zhangxiao xiao.zh...@windriver.com wrote: Hi Experts, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define

The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
Hi Experts, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \ 55 block) >> DM_BUFIO_HASH_BITS) ^ (block)) & \ 56 ((1 << DM_BUFIO_HASH_BITS) - 1)) "drivers/md/dm-bufio.c"

Re: The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
On 2014年12月02日 16:36, NeilBrown wrote: On Tue, 2 Dec 2014 16:32:14 +0800 zhangxiao wrote: Hi NeilBrown, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \ 55 block

The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
Hi NeilBrown, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \ 55 block) >> DM_BUFIO_HASH_BITS) ^ (block)) & \ 56 ((1 << DM_BUFIO_HASH_BITS) - 1)) "drivers/md/dm-bufio.c"

The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
Hi NeilBrown, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \ 55 block) DM_BUFIO_HASH_BITS) ^ (block)) \ 56 ((1 DM_BUFIO_HASH_BITS) - 1)) drivers/md/dm-bufio.c 1854L,

Re: The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
On 2014年12月02日 16:36, NeilBrown wrote: On Tue, 2 Dec 2014 16:32:14 +0800 zhangxiao xiao.zh...@windriver.com wrote: Hi NeilBrown, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block

The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
Hi Experts, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \ 55 block) DM_BUFIO_HASH_BITS) ^ (block)) \ 56 ((1 DM_BUFIO_HASH_BITS) - 1)) drivers/md/dm-bufio.c 1854L,