On Tue, Mar 01, 2011 at 08:42:09AM +0900, KAMEZAWA Hiroyuki wrote: > On Mon, 28 Feb 2011 10:18:27 +0000 > Mel Gorman <mel@xxxxxxxxx> wrote: > > > > BTW, can't we drop disable_irq() from all lru_lock related codes ? > > > > > > > I don't think so - at least not right now. Some LRU operations such as LRU > > pagevec draining are run from IPI which is running from an interrupt so > > minimally spin_lock_irq is necessary. > > > > pagevec draining is done by workqueue(schedule_on_each_cpu()). > I think only racy case is just lru rotation after writeback. put_page still need irq disable. > > Thanks, > -Kame > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@xxxxxxxxxx For more info on Linux MM, > see: http://www.linux-mm.org/ . > Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ > Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a> -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>