Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-15-2009, 11:31 PM   #1
Registered: Apr 2009
Posts: 33

Rep: Reputation: 15
priority for kernel thread?

In the code that I have written,I have 7 processes running.for two of the processes I have given real time priorities.In one of the work queue functions in my driver,I am handling real time data also.This is creating No queue(return value of my schedule_work call in driver)condition and is hanging the system.When I remove the real time priorities given to 2 user space processes,this problem gets solved.So my doubts are
1.Why a conflict arises between a kernel thread and user thread
2.Is there any way to give real time priority for a kernel thread(ie. a work queue function inside driver,similar to sched_setscheduler)

Thank You


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the priority of process that contain multi-thread? aixilin Programming 5 10-04-2012 02:27 PM
Regarding giving the priority to a thread navderm Programming 2 12-28-2008 11:32 PM
How should i map Windows thread priority macros to Linux? patyogesh Linux - Newbie 3 11-12-2008 05:20 AM
Priority of Linux process/thread scanner Linux - Newbie 1 07-07-2006 12:49 AM
thread priority tornatom Programming 0 08-22-2005 01:00 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration