Re: [patch 11/21] disable interrupts while holding pagemap_lru_lock

From: Ed Tomlinson (tomlins@cam.org)
Date: Sun Aug 11 2002 - 06:26:52 EST


Andrew Morton wrote:

> This optimisation is not needed on uniprocessor, but the patch disables
> IRQs while holding pagemap_lru_lock anyway, so it becomes an irq-safe
> spinlock, and pages can be moved from the LRU in interrupt context.

It does cleanup slablru in UP. It simplifies the patch getting rid of the
#ifdef when adding page(s) to the slab caches. It also cleans up the code
used when we want to remove a slab from a cache.

Thanks
Ed Tomlinson

-
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/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:24 EST