Re: Calling sys_sysinfo from sched.c

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

 



Quoting Rik van Riel <riel@xxxxxxxxxxx>:

> On Wed, 27 Apr 2005, A.M. Fradley wrote:
>
> > That would go inside the page fault function.  I'm going to look into 
> > doing it this way as part of the runqueue structure for now.  I think I 
> > should start by moving the strusture definition into sched.h.  I also 
> > need to check the math behind that algorithm.  Am I on the right lines 
> > with the runqueue thing?
> 
> Why move this into the runqueue?  The runqueue contains processes
> that are runnable, I don't understand how you want to hook into
> that processes that are not runnable but waiting for page faults...
> 
> -- 
> "Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it." - Brian W. Kernighan
> 

Perhaps in the cpu structure then?  My reason for this is that I figured
activating the tokening on all computers on a network when only one of them had
high vm pressure would slow down all the others that didn't.  So I wanted to
make the fault rate available for each seperate computer and overall for a
network.



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux