Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6925493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:47:47+00:00 2026-05-27T10:47:47+00:00

Currently I am reading Understanding the Linux kernel, 3rd edition and on p.22 I

  • 0

Currently I am reading “Understanding the Linux kernel, 3rd edition” and on p.22 I can read:

In the simplest case, the CPU executes a kernel control path sequentially from the
first instruction to the last. When one of the following events occurs, however, the
CPU interleaves the kernel control paths:

  • A process executing in User Mode invokes a system call, and the corresponding
    kernel control path verifies that the request cannot be satisfied immediately; it
    then invokes the scheduler to select a new process to run. As a result, a process
    switch occurs. The first kernel control path is left unfinished, and the CPU
    resumes the execution of some other kernel control path. In this case, the two
    control paths are executed on behalf of two different processes.

The kernel control path can be interrupted from a user space process doing a system call?
I thought the priority was pretty much:

  • interrupts
  • kernel threads
  • user space processes

I have checked the errata and could not find anything about this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:47:48+00:00Added an answer on May 27, 2026 at 10:47 am

    You are right about the priority list, but what (I think) the book is trying to say is:

    • When a (user) process makes a system call, the kernel starts executing on its behalf.
    • If the system call can be completed (the kernel control path does not run into a roadblock), then it will usually return direct to the calling process – think getpid() function call.
    • On the other hand, if the system call cannot be completed (for example, because the disk system must read a block into the kernel buffer pool before its data can be returned to the calling process), then the scheduler is used to select a new process to run – preempting the (kernel thread of control that was running on behalf of the) user process.
    • In due course, the original system call will be able to continue, and the original (kernel thread of control that was running on behalf of the) user process will be able to continue and eventually complete, returning control to the user space process running in user space and not in the kernel.

    So “No”: it is not the case that the ‘kernel path can be interrupted from a user space process doing a system call’.

    The kernel path can be interrupted while it is executing a system call on behalf of a user space process because: an interrupt occurs, or the kernel path must wait for a resource to become available, or …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our profession often requires deep learning; sitting down and reading, and understanding. I'm currently
Currently reading Bloch's Effective Java (2nd Edition) and he makes a point to state,
Currently reading quite a heavy WCF book. I have used it myself in production
I am currently reading Beginning CakePHP:From Novice to Professional by David Golding. At one
I'm currently reading, Design Patterns:Elements of Reusable Object-Oriented Software by Erich Gamma and others.
I'm currently reading a great book called 'Programming Collective Intelligence' by Toby Segaran (which
I am currently reading Developer's Workshop to COM and ATL 3.0. Chapter 3 introduces
I'm currently reading Dive Into Python by Mark Pilgrim, and have gotten to the
I'm currently reading the book Pro Asp.Net MVC Framework. In the book, the author
I'm currently reading chapter 5.8 of Dive Into Python and Mark Pilgrim says: There

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.