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

  • SEARCH
  • Home
  • 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 8143649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:10:29+00:00 2026-06-06T13:10:29+00:00

I am trying to implement some kind of new Linux task scheduler so I

  • 0

I am trying to implement some kind of new Linux task scheduler so I found this article http://www.eetimes.com/design/embedded/4204929/Real-Time-Linux-Scheduling-Part-1
is really helpful. However, it said that we not only need to define the new scheduling macro in /kernel-source-code/include/linux/sched.h but also need to define the same thing in /usr/include/bits/sched.h.

So why do we need to change the user space head file since the scheduler works in the kernel. I do not know why do we have the user space head file? Anyway the user space program can not use the function defined in the kernel directly (unless through a system call), right? And if we also need to change the user space file in order to implement a new scheduler, then how can the scheduler be portable since the user not only needs to use the new kernel image but also needs to change their user space file?

  • 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-06-06T13:10:32+00:00Added an answer on June 6, 2026 at 1:10 pm

    The article talks about adding a new class of scheduling, or new scheduling policy, and not about replacing kernel scheduling algorithm wholesale. You need userland process be able to select the policy with sched_setscheduler(2), thus the need for userland-visible header file.

    Take a look here for more details.

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

Sidebar

Related Questions

I'm kind of new in Spring and hibernate so I'm trying to implement some
I'm currently trying to implement some kind of file browser / explorer into a
Currently I'm trying to implement some kind of object stream, similar to the structure
I'm trying to implement some kind of caching in a PHP script that will
I'm currently trying to implement some kind of search system in a program of
im trying to implement some behaviors when a mapview element scrolls... by coding a
I'm trying to implement some rudimentary tabs in a Cocoa editor I'm working on.
I am trying to implement some unit testing for an old framework. I am
I am trying to implement some interface changes in my app, based on the
I'm trying to implement some custom template tags to to a little more with

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.