Re: test9-pre6 and GFP_BUFFER allocations

2000-09-23 Thread Ingo Molnar
On Sat, 23 Sep 2000, Roger Larsson wrote: > One approach could be: only goto try_again if GFP_IO is set. > And alloc one page from the critical memory pool. > I will try this. i'll try this too. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: test9-pre6 and GFP_BUFFER allocations

2000-09-23 Thread Ingo Molnar
On Sat, 23 Sep 2000, Roger Larsson wrote: > * Won't we end up in an infinite loop? FYI, i still see a rare deadlock, even under test9-pre6. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ

test9-pre6 and GFP_BUFFER allocations

2000-09-23 Thread Roger Larsson
Hi, What will happen in this scenario: a process * grabs a fs semaphore * needs some buffers to do IO, calls __alloc_pages(GFP_BUFFER) Suppose the system is MIN on free mem, has no inactive_clean pages. We will end up around line 446 in pages_alloc.c and issue a try_to_free_pages(...). Then goto