|
|
|
|
| Hi.....i Have A Question Regarding Linux's General Working.... |
|
|
|
[Original]
[Print]
[Top]
|
Hi guys...my first post here, so please help out.....
I am a BSc student, and have recently started learning the basic of how OS's work, in my OS Concepts lectures....
I have recieved an assignment, in which I have to generally discuss the methods taken by the Linux OS, to resolves deadlocks in a multi-user environment....
I just need a brief article on this topic....
if anyone can help me out, I will be very grateful...
thanx in advance
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
by chance, i have that book....it just has a paragraph written regarding deadlocks....nothing more than that, unless i have to search for something other than 'deadlocks' as well........
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
OK, fortunately, I have found a significant amount of data...when I google for 'Distributed Deadlocks'....this is good for me in the way that 'Distributed' I think means 'multi-user' in my question .... 
the only problem is, in all the data i have gathered so far regarding distributed deadlocks, nothing mentions any particular OS that uses the methods described...
so, does linux have any distributed deadlock handling schemes ?
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
this is a hard question to answer basically in Linux kernel deadlocks don't hapen so there is no handeling scheme whatsoever accept to ignore the idea altogether.
the kernel just has to follow some basic rules for locking and sleeping, scheduling and interrupt handling, preepmtion and whatnot. for instance if a task in the kernel is atomic. (indivisable and unintruptable) like for instance a spinlock on a particular cpu waiting for another thread to release a lock on another cpu then by definition this task cannot be rescheduled. it's just basic junk like that and the particulars are always changing and evolving. for instance with the advent of the new asymetrical memory nodes memory locking mechanism are different for them and like that.
hope that helps a bit. to point in the right direction.
|
|
|
[Original]
[Print]
[Top]
|
|
|