Re: GFP_NOFS broken

2001-07-05 Thread Linus Torvalds
On Thu, 5 Jul 2001, Andrea Arcangeli wrote: > > getblk called from the fs calls grow_buffers with GFP_NOFS which doesn't > inhibit shrink_dcache_memory to re-enter the fs in prune_dcache because > __GFP_IO is set. And it will deadlock as usual when shrink_dcache reenter > the fs that way. Good c

GFP_NOFS broken

2001-07-05 Thread Andrea Arcangeli
While I was travelling disconnected from the internet the last week (I will buy a GPRS phone soon ;) I also spotted and fixed the __GFP_BUFFER deadlock that I was triggering on my 128m laptop while browsing large email folders on top of crypto loop: --- 2.4.6pre6aa1/include/linux/mm.h.~1~ Sat Jun