Les petits liens de Lou
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
Best analogy for user and kernel space? http://www.reddit.com/r/linux4noobs/comments/22lc2n/best_analogy_for_user_and_kernel_space/cgny367
Wed 09 Apr 2014 11:36:59 AM CEST archive.org

« You are a teacher taking a group of schoolchildren to the local library.
You're all in the library, sitting around a table.

You are the Kernel.
You have a notebook that you can write things in (your cache).
The children are userspace.
The table is RAM.
The bookshelves are permanent disk storage.

If a child wants to read a book, he asks your permission.
You look up the books location from the library records.
You: "Yes you can read the book. The book is located here. Go fetch it."
You note this is a popular book, so note the location in your notebook for faster response.
The child toddles off and fetches the book.
Child: "I have the book. Can I have some table-space so I can sit down and read it."
You: "I'll clear some space and assign it to you. There you go."
Time passes. Another child has a book to read, but no space to sit down.
You: "Child #1, you're taking too long, Take your book and stand over there for 5 minutes while others use your table-space."
and so forth. »

informatique kernel analogy f t
3704 links, including 10 private
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Theme by kalvn