Re: Q: deadlock

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

 



> I know what spinlocks are and do ;)
> And I still say that copy_to_user within a spinlock can trigger 
> deadlock.(and it will once every while)

Yes it may.

----- Original Message -----
From: Arjan van de Ven <arjan@fenrus.demon.nl>
Date: Monday, March 11, 2002 2:18 pm
Subject: Re: Q: deadlock

> On Mon, Mar 11, 2002 at 10:40:44AM +0500, Sumit Agarwal wrote:
> > That is ofcourse a deadlock where everyone is running in a tight 
> loop 
> > on the processor. But remember once you go to sleep, the 
> scheduler is 
> > ready to run. Also you have to be sure that if you have disabled 
> the 
> > interrupts on the processor or not. If you are saying 
> copy_to_user will 
> > cause a deadlock, then I 'll say it will not. Check the code 
> again for 
> > it.
> 
> I know what spinlocks are and do ;)
> And I still say that copy_to_user within a spinlock can trigger 
> deadlock.(and it will once every while)
> 
begin:vcard
n:Agarwal;Sumit
fn:Sumit Agarwal
tel;cell:+919845205210
tel;fax:+91-80-5732696
tel;home:+919845205210
tel;work:+91-805732296 / 93 extn. 5243
url:www.wipro.com
org:Wipro Technologies;SIDC, Embedded and Internet Division
adr:;;Wipro Technologies, Chamundi Complex, No.26, Hosur Main Road, Bommanahalli;Bangalore;Karnataka;560068;INDIA
version:2.1
email;internet:sumit.agarwal@wipro.com
title:Senior Software Engineer
end:vcard


**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


 ********************************************************************

[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