On Sat, 2005-04-16 at 17:03 +0100, A.M. Fradley wrote: > I want to use larger time slices when the ram starts to get full to try to > reduce the time spent swapping the pages in and out. is that very different to the swap token technique currently used? > > I added the following to > the scheduler in linux 2.6.9 and I can't figure out > why it's not working. There were two different sysinfo() functions I found and > this is what I think is confusing me. you really shouldn't be calling system calls from within the kernel. What information do you actually need? -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/