[<prev] [next>] [day] [month] [year] [list]
Message-ID: <BLU185-W503311A4AA6A171F22ED2AEC3B0@phx.gbl>
Date: Mon, 26 May 2014 04:53:21 +0000
From: Deepa Raj <draj187@...mail.com>
To: "tj@...nel.org" <tj@...nel.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: CMWQ urgent questions
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists