Find the answer to your Linux question:
Results 1 to 2 of 2
I've been using Linux for about 2 years now. I began with MDK 9.2 and moved into Slackware 9.1 about year-ish ago. One thing I've always wondered; I came from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Posts
    65

    Real or Protected?


    I've been using Linux for about 2 years now.

    I began with MDK 9.2 and moved into Slackware 9.1 about year-ish ago.

    One thing I've always wondered;

    I came from a Windows world, like most of you probably did.

    I've always wondered, is Linux a real or protected mode OS? Do these terms even apply for a monolithic kernel or is this just a Windows thing? If not, then can someone explain the difference, etc.?

    Just curious.

    Thanks.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Short Answer:
    A system running the Linux kernel runs in two states: kernel-space and user-space.
    Long Answer:
    Many architectures, such as x86, have a handful of processor states, ranging from a 'real' mode with no protection (see: It does wtf you tell it to) to a 'protected' mode. On platforms such as x86 with more than two states, the two extremes are selected for kernel and user space. The kernel ( and all kernel modules ) run in kernel-space, which runs in 'real' mode. Userspace, on the other hand, runs in a protected mode which doesn't just arbitrarily execute code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •