RE: CMWQ urgent questions

2014-05-25 Thread Deepa Raj

Hi Tejun,

You are the implementor of CMWQ workqueues and I am working on device drivers. 
In this new workqueues, worker threads are created like:

kworker/u4:0 
kworker/0:0 

OK, with the help of ftrace, we are able to know on which cpu id, it is 
created. Can we read not from u4:0 or 0:0, the cpuid?

As per code, for high priority work queues H is appended.

The questions are as follows:

1) what does u4:0 means, does it means this is created from user side?, does it 
give cpu id on which it is working? I am going to understand the meaning of 
u4:0. I guess you the best person to explain it.

2) Suppose workqueues are created from device driver init functions, When the 
user space process (through the ioctl calls) schedule the work, can we know 
which process scheduled the work on workqueues. 

Waiting for your help and appreciate your help on this.

With Regards,
D.Raj --
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: CMWQ urgent questions

2014-05-25 Thread Deepa Raj

Hi Tejun,

You are the implementor of CMWQ workqueues and I am working on device drivers. 
In this new workqueues, worker threads are created like:

kworker/u4:0 
kworker/0:0 

OK, with the help of ftrace, we are able to know on which cpu id, it is 
created. Can we read not from u4:0 or 0:0, the cpuid?

As per code, for high priority work queues H is appended.

The questions are as follows:

1) what does u4:0 means, does it means this is created from user side?, does it 
give cpu id on which it is working? I am going to understand the meaning of 
u4:0. I guess you the best person to explain it.

2) Suppose workqueues are created from device driver init functions, When the 
user space process (through the ioctl calls) schedule the work, can we know 
which process scheduled the work on workqueues. 

Waiting for your help and appreciate your help on this.

With Regards,
D.Raj --
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool->cpu>0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool->cpu>0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool->cpu>0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool->cpu>0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool->cpu>0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool-cpu0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool-cpu0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool-cpu0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool-cpu0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/


CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi,

I was trying to understand the workqueues in more details:

e.g. it is given

kworker/u4:0
kworker/0:0

What does u4:0 represents and similarily 0:0 represents. I was glancing into 
the code when pool-cpu0, there is u appended.

Can you please explain u4:0 and 0:0 (what does it represent) in workqueue 
kworker?
Regards,

D. Raj--
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/