RE: spin_lock and scheduler confusion

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

 



Hi,
________________________________________
From: Dave Hylands [dhylands@xxxxxxxxx]
Subject: Re: spin_lock and scheduler confusion

>> I guess timeslice expire case is not as same as preemption. Or may be I am
>> terribly wrong.
>
>You shouldn't be holding  a spinlock for periods of time approaching
>the length of a timeslice. The timer interrupt is what determines the
>end of a timeslice. No timer interrupt, no end of a timeslice.
>Preemption is also triggered by the timer interrupt, or by releasing a
>resource that a higher priority task is waiting for.

thanks,
it is much clear now.

>Dave Hylands

Thanks,
Viral

http://groups.google.com/group/fundamental-discussion?hl=en

The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and  using or disseminating the information,  and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"

______________________________________________________________________

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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