[lkml]   [2002]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 11/21] disable interrupts while holding pagemap_lru_lock
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.

Ed Tomlinson

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.038 / U:3.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site