Hello. I'm new to kernel development and have some questions. 1. Apperently kernel doesn't support operations with floating-point types. How can I then divide a number 265 with the number 7 if I can divide only by 2 with right-shifting? 2. I'm trying to get the percentage of CPU used for a certain task_struct and figured the following formula: (task->utime + task->stime) / jiffies Before calculating I convert all the variables to jiffies. Is this correct? Please help. Greets, Luka -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ