Marcelo,
Infact, the test can be made even weaker than that.
We only what to avoid the inactive-clean list when allocating from
within an interrupt (or from a bottom-half handler) to avoid
deadlock on taking the pagecache_lock and pagemap_lru_lock.
Note: no allocations are done while hold
Linus,
Currently __alloc_pages() does not allow PF_MEMALLOC tasks to free clean
inactive pages.
This is senseless --- if the allocation has __GFP_WAIT set, its ok to grab
the pagemap_lru_lock/pagecache_lock/etc.
I checked all possible codepaths after reclaim_page() and they are ok.
The follow
2 matches
Mail list logo