LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-20-2013, 05:13 PM   #1
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
How does the kernel release a process's locks when it gets killed


Hi,
I'm taking an OS class and we just completed an assignment related to adding thread support to a kernel (xv6 OS). One of the cases we *didn't* have to handle was releasing locks held by a process in case it got killed. I was wondering how is this problem generally solved (maybe in the linux kernel)?
 
Old 11-20-2013, 08:43 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
I don't know enough to answer your question, but some of the tools in this article might help: http://www.linuxjournal.com/article/3829

Also, the interactive kernel map could be a nice reference: http://www.makelinux.net/kernel_map/
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] kernel: init: rsyslog main process killed by ABRT signal -- how to investigate ? masuch Linux - Newbie 6 08-10-2012 02:03 PM
find history of a job killed by "kernel: Out of Memory: Killed process" poulacou Linux - Server 3 09-20-2007 04:24 PM
kernel: Out of Memory: Killed process guarriman Linux - General 1 08-13-2005 04:14 AM
kernel: Out of Memory: Killed process amitch3 Linux - Enterprise 5 08-20-2004 02:24 AM
X locks when killed gf3 Linux - Software 0 07-22-2004 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:20 AM.

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