On Thu, 18 Oct 2007 16:15:31 -0400 Marcelo Tosatti <marcelo@kvack.org> wrote:Martin was talking about some mad scheme wherin you'd create a bunch of pseudo files (say, /proc/foo/0, /proc/foo/1, ..., /proc/foo/9) and each one would become "ready" when the MM scanning priority reaches 10%, 20%, ... 100%. Obviously there would need to be a lot of abstraction to unhook a permanent userspace feature from a transient kernel implementation, but the basic idea is that a process which wants to know when the VM is getting into the orange zone would select() on the file "7" and a process which wants to know when the VM is getting into the red zone would select on file "9". It get more complicated with NUMA memory nodes and cgroup memory controllers. -
| Artem Bityutskiy | [PATCH 10/44 take 2] [UBI] debug unit implementation |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Dave Young | Re: Linux v2.6.24-rc1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
