Messages in this thread | | | Date | Thu, 3 Nov 2005 21:48:07 -0800 | From | Andrew Morton <> | Subject | Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19 |
| |
Paul Jackson <pj@sgi.com> wrote: > > > Similarly, that SGI patch which was rejected 6-12 months ago to kill off > > processes once they started swapping. We thought that it could be done > > from userspace, but we need a way for userspace to detect when a task is > > being swapped on a per-task basis. > > > > I'm thinking a few numbers in the mm_struct, incremented in the pageout > > code, reported via /proc/stat. > > I just sent in a proposed patch for this - one more per-cpuset > number, tracking the recent rate of calls into the synchronous > (direct) page reclaim by tasks in the cpuset. > > See the message sent a few minutes ago, with subject: > > [PATCH 5/5] cpuset: memory reclaim rate meter >
uh, OK. If that patch is merged, does that make Bron happy, so I don't have to reply to his plaintive email?
I was kind of thinking that the stats should be per-process (actually per-mm) rather than bound to cpusets. /proc/<pid>/pageout-stats or something. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |