LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

Rep: Reputation: 15
priority for kernel thread?


Hi,
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
 
  


Reply



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:38 PM.

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