Messages in this thread | | | From | William Lee Irwin III <> | Subject | [oom]: [0/4] fix OOM deadlock running OAST | Date | Wed, 23 Jun 2004 14:07:46 -0700 |
| |
While running OAST to test 2.6's maximum client capacity, the kernel deadlocked instead of properly OOM'ing. The obvious cause was the line if (nr_swap_pages > 0) in out_of_memory(), which fails to account for pinned allocations. This can't simply be removed. The following patches attempt to give the kernel the ability to discriminate between pinned and unpinned allocations in order to determine whether this check is appropriate. They furthermore also add reporting of wired memory on a global and per-zone basis.
-- wli - 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/
| |