On 6/7/07, Devvrat Tripathi <tripathidevvrat@xxxxxxxxx> wrote:
On 6/7/07, Erik Mouw <mouw@xxxxxxxxxxxx > wrote:-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Jun 07, 2007 at 12:02:03PM +0200, Devvrat Tripathi wrote:
> I wanted to ask you if current pid will work at the driver level. i used in
> pci-gart.c to get the processes which are using DMA transfer but stragely i
> get 0 sometimes and sometime proper pid's.
0 is a proper pid as well, it's the "swapper" task.
Erik
what is a "Swapper" task. Can you explain what work does it do and why does it do so many IO transfers.
devvrat
Also this is what wikipedia says of idle task.
" In Unix-like operating systems such as Linux, the idle task has process ID zero, and never exits. "
but the results which i am getting show that this task does exist and is initiating so many DMA transfers. what can be the possible reason for it or is it that i am missing something?
devvrat