when I write a script like NAT, how I can control the cpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, everyone, 
 
Recently, I program a script like NAT, but I have no idea how to let it 
possess more cpu resource?
 
you know, in user space process is a small unit which possess the cpu 
and is controlled by schedule function.  but in kernel space, it seems 
not the same thing as it in user space, and NAT should not be viewed as 
a process, in turn I can not schedule it. 
 
I ought to alter my perspective to the driver like ? while , I 
realistically can not understand it.
 
Any help will be appreciated!
 
thanks , :)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux