title: Delaying a specificed kernel task
body: <p>I am trying to write a kernel module which will delay a certain kernel task by some n seconds if it meets a certain condition.</p>
  
  <p>I have found which tasks meet my condition just fine, and have the pid of the said task stored in a variable. What I need is a method which takes a task pid and a time (presumably in jiffies) and reschedules the execution of the program for n seconds in the future.</p>
  
  <p>I have looked in sched.c but to no avail. I know about the likes of <code>schedule_timout()</code>, however I don't want to timeout the current task. I am also aware of <code>resched_task</code> from sched.c, however it only takes a timeout value and I can't pass the task to reschedule.</p>
  
  <p>Note that I don't want to edit any Linux system files here, just my kernel module.</p>