Re: Can you use current->pid at the driver level

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux