Ingo Molnar <[email protected]> wrote: > > * Andrew Morton <[email protected]> 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. > > wouldnt the clean solution here be a "swap ulimit"? Well it's _a_ solution, but it's terribly specific. How hard is it to read /proc/<pid>/nr_swapped_in_pages and if that's non-zero, kill <pid>? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch] swapin rlimit
- From: Rob Landley <[email protected]>
- Re: [patch] swapin rlimit
- From: Arjan van de Ven <[email protected]>
- Re: [patch] swapin rlimit
- From: Ingo Molnar <[email protected]>
- Re: [patch] swapin rlimit
- References:
- Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- From: Gerrit Huizenga <[email protected]>
- Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- From: Rob Landley <[email protected]>
- Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- From: Nick Piggin <[email protected]>
- Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- From: Rob Landley <[email protected]>
- Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- From: Jeff Dike <[email protected]>
- Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- From: Badari Pulavarty <[email protected]>
- Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- From: Andrew Morton <[email protected]>
- [patch] swapin rlimit
- From: Ingo Molnar <[email protected]>
- Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- Prev by Date: Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- Next by Date: Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19
- Previous by thread: [patch] swapin rlimit
- Next by thread: Re: [patch] swapin rlimit
- Index(es):