Re: [RFC] New locking primitive for 2.5

Ingo Molnar
2002-02-07T19:29:53Z

On Thu, 7 Feb 2002, Andrew Morton wrote:

> Quite a few. Significant ones. pagemap_lru_lock and lru_list_lock
> come to mind.

ugh. Are you sure we want to *sleep* with something like pagemap_lru_lock
held? That pretty much brings all pagecache related operations to a
grinding halt. I think complex spinlocked sections should be simplified
rather.

Ingo