Re: task pointer

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

 



On Sun, Oct 09, 2005 at 23:11:47 +0000, Talib Alim wrote:
> I am storng task pointer in my kernel module and when interrupt comes in I 
> am waking the process up by
> 
> wake_up_process(task_ptr);
> 
> Now, sometime it is possible that the process is already dead, e.g. user to 
> ctrl-c on console. In this case, I get
> 
> Unable to handle kernel paging request at virtual address d29dbdb4
> 
> Is there a way, where I can very efficiently check for existence of process 

What are you doing? Whay can't you use a wait_queue?

--
						 Jan 'Bulb' Hudec <bulb@xxxxxx>

Attachment: signature.asc
Description: Digital signature


[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