LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-12-2009, 02:52 PM   #1
joheiker
LQ Newbie
 
Registered: Mar 2009
Location: Venezuela
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
Including a QoS module into the kernel


Hello everyone!

I have the following issue: i'm working with some QoS algorithms, more specific scheduling algorithm, not implemented in the kernel. If you look at /net/sched/ you will see algorithms like RED, GRED, HTB, etc; i'm working with one base on a PI controller. The thing is, i already wrote some code and compiled and everything but i'm not sure how to tell the kernel to stop using the algorithm he uses by default (FIFO) and start using mine.

I wrote my code following the structure of some algorithms in linux kernel and build the module following these instructions

http://www.tldp.org/LDP/lkmpg/2.6/html/index.html

But as i said, i dont know to do the final step which is making it work.
Should i include it directly into the /net/sched/ directory, recompile as a module and the use depmod or insmod to load the module????. Because i already used insmod and when i cat /proc/modules i can see it.

I don't know what i'm missing.

Hopes someone can help
 
  


Reply


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
Including new machine type in the kernel configuration halturata Linux - Software 6 09-24-2007 06:14 AM
Including python module causing script to abort? rose_bud4201 Programming 3 06-22-2007 11:31 AM
whenever kernel panic comes it destroys the whole partition including that of windows cybercop12us Linux - Software 2 08-29-2006 11:41 AM
Including the header file of a module in kernel code omkarlagu Linux - Newbie 0 02-05-2006 07:55 AM
QoS Problem kernel 2.4.21 to 2.4.23-pre6 Passe Linux - Networking 0 10-30-2003 11:13 PM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration