LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-13-2006, 10:20 AM   #1
ahmadka
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
Hi.....I have a question regarding Linux's general working....


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
 
Old 06-13-2006, 11:22 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Don't know the term "deadlocks" in a data processing sense, but assuming you mean "record locking," maybe you ought to google on that.
 
Old 06-13-2006, 11:25 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Firstly, Welcome to LQ!
Secondly, BSc students generally need to do a little work to earn their qualification(s).
Please see Jeremy's LQ Rules about "Homework".
 
Old 06-13-2006, 12:22 PM   #4
Youri
Member
 
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144

Rep: Reputation: 15
to sort things right. rick? deadlocks are a valid term but googling record locking wont get you to resolving deadlocks. besides its not about data processing but about process handling

Last edited by Youri; 06-13-2006 at 12:23 PM.
 
Old 06-13-2006, 02:41 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by tredegar
Firstly, Welcome to LQ!
Secondly, BSc students generally need to do a little work to earn their qualification(s).
Please see Jeremy's LQ Rules about "Homework".
Here's the actual rule:
Quote:
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
People are allowed to ask for help and we are allowed to give it. I think our responsibility is to point students in the right direction and NOT give them all the answers.

Intelligently stated question like this one--I will try to help.
Cut and paste from the assignment sheet??--no help from me....
 
Old 06-13-2006, 05:48 PM   #6
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Hi. I don't think the (linux) kernel has any special provisions for deadlock avoidance (maybe BSD does?). I think deadlocks are not possible with the kernel's preemption model (if they are, it's a bug). Also, in kernel code, there is always an outer lock and an inner lock.
 
Old 06-14-2006, 01:51 AM   #7
ahmadka
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
hi. well, i dont have a problem with the homework rule that LQ has..instead I highly respect the decision... ...but the only thing is that I do not know where to start from at all!!! That is, I havent studied Linux, and all the keywords that I have to google for, are 'linux', 'deadlock' and 'multi user'....I have tried these on google, and got nothing!

If I had known the very basic methods used by linux, i could probably look them up, and carry on from there...which I dont know...

So, instead of directing me to a fully blown article which i could just copy n paste ....why not tell me the basic methods used by Linux to deal with deadlocks, or some other very basic hint...which could serve as a starting point for my search...

All I am saying is that, I would love to search for the knowledge required myself, and learn in the process too...but I dont know what to search for!!
 
Old 06-14-2006, 02:23 AM   #8
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Why not install a distro and give it a try? the best learning is done hands on. You'd also have access to the kernel source then...
 
Old 06-14-2006, 07:15 AM   #9
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
Why not install a distro and give it a try? the best learning is done hands on.
Completely agree, if you have some spare time I suggest having a go at Linux From Scratch. Its an excellent learning tool.
 
Old 06-14-2006, 08:41 AM   #10
Youri
Member
 
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144

Rep: Reputation: 15
the book "operating systems" written by stallings is a good help too quite expensive but a great resource of knowledge
 
Old 06-14-2006, 05:16 PM   #11
ahmadka
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
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 ?
 
Old 06-14-2006, 05:32 PM   #12
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by ahmadka
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 ?
I think distributed deadlocks does not mean multi-user but means a distributed computer (i.e., clustering). AFAI can tell, distributed deadlocks are way beyond the scope of the operating system and it's the responsibility of a program's author to make sure it doesn't happen.

As I said before, I don't think that the whole deadlock problem is relevant in the linux kernel (at least on a single machine).
 
Old 06-18-2006, 08:53 AM   #13
Youri
Member
 
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144

Rep: Reputation: 15
Quote:
Originally Posted by ahmadka
so, does linux have any distributed deadlock handling schemes ?
try to search for spinlocks

Last edited by Youri; 06-18-2006 at 09:04 AM.
 
Old 06-18-2006, 02:25 PM   #14
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Rep: Reputation: 15
This might have what you are looking for. I didn't have a lot of time to read the posts, but you should try it. Knoppix is a great example of linux (in my opinion), and it boots right off a CD (doesn't touch harddrive). Linuxquestions (LQ), has a place to download ISOs (a file containg all the linux stuff, ready for burning to a CD). Find the newest Knoppix ISO, and also, LQ also has a free/easy program to burn ISOs to CDs (made by Alex... F something, it is in the howto burn CDs, free software section.

http://en.wikipedia.org/wiki/Linux

Mind SP errors, etc. There is so much to talk about, here is some of it summed poorly
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
duel boot 2 linux's..question JT13 Linux - General 3 06-04-2005 08:46 PM
My monitor is not working during red hat 9.0 linux's installation cyto Red Hat 2 08-21-2004 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration