title: How to use the macro SCHED_DEADLINE in linux?
body: <p>We know that there are several scheduling policies in linux like <code>SCHED_FIFO</code>, <code>SCHED_RR</code>, <code>SCHED_OTHER</code>, etc. and one can change the scheduler of a real-time process using the <code>sched_setscheduler</code> system call.</p>
  
  <p>But I'm not able to change the scheduler of a program to <code>Earliest-deadline-first</code> using the <code>SCHED_DEADLINE</code> macro ? Can anyone suggest a way how to achieve this ?</p>