Messages in this thread | | | Date | Wed, 8 Sep 2004 18:22:29 -0700 | From | William Lee Irwin III <> | Subject | Re: [2/2] handle CONFIG_MMU=n and use new vm stats for CONFIG_MMU=y |
| |
On Wed, Sep 08, 2004 at 06:21:37PM -0700, William Lee Irwin III wrote: > Make __task_mem() and __task_mem_cheap() use the appropriate methods > for CONFIG_MMU=y and add some attempt at correct code for CONFIG_MMU=n. > The new methods for /proc/ accounting involve using counters kept in > the mm instead of iteration over vmas. For the CONFIG_MMU=y case this > does not involve acquiring mm->mmap_sem for any per-mm statistics. The > CONFIG_MMU=n case still needs iteration over tblocks to calculate them.
Once again, compiletested only on ia64.
-- 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/
| |