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

Ed Tomlinson (tomlins@cam.org)
Sun, 11 Aug 2002 07:26:52 -0400


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/