Thread: How was the cpu scheduling of the process implemented?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Registered User
    Join Date
    Mar 2022
    Posts
    4

    Professor, let me ask you one more question.

    Professor, let me ask you one more question.

    Thank you for teaching me that the CPU scheduler was a process, not a program source code in the kernel.

    I've learned that CPU scheduler is not a separate process at school.

    Until now, I learned that CPU scheduler is a passive program source code in the kernel.

    And I learned that each process is frequently caught in an interrupt, enters kernel mode, and executes CPU scheduler code in the kernel on its own at school.

    I have a question here.

    Even if user processes are frequently interrupted and enter kernel mode due to hardware signals,

    I didn't write the source code for the user process to execute the CPU scheduler source code in the kernel.

    By the way, how do processes execute the source code of the CPU scheduler in the kernel?

    That's why I asked this question.

    I knew the CPU scheduler was built into the kernel, but it wasn't a passive source code, it was a separate process.

    At school, I learned that CPU scheduler is not a separate process, but a source code built into the kernel.

    Thank you for teaching me that the CPU scheduler was a process, not a program source code in the kernel.


    Then, When entering PS-ef instructions into the shell,

    what are the PID and CMD of the CPU scheduler process?
    Last edited by JangDongyul; 03-09-2022 at 03:08 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How is tolower() implemented if..
    By Nwb in forum C Programming
    Replies: 5
    Last Post: 10-10-2020, 06:16 AM
  2. Could this be implemented a simpler way?
    By TropicalStarfis in forum C Programming
    Replies: 6
    Last Post: 08-06-2012, 08:16 AM
  3. process scheduling
    By lordofdarkness in forum C Programming
    Replies: 0
    Last Post: 03-29-2010, 04:53 PM
  4. Process Scheduling using fork()
    By mannyginda2g in forum C++ Programming
    Replies: 8
    Last Post: 03-08-2005, 05:09 PM
  5. What is a Map/Table? How is it Implemented?
    By Artist_of_dream in forum C++ Programming
    Replies: 4
    Last Post: 02-13-2005, 03:42 PM

Tags for this Thread