Re: obscure bug in vmalloc

2001-02-01 Thread duane voth
duane voth wrote: > ... I've attached a patch that > can be used to watch for the problem. The following is a 2.2 patch (2.4 > will follow in a few minutes). If you see "vmalloc error" you might want > to uncomment the look_for_dangling_pgds function to get a bett

obscure bug in vmalloc

2001-02-01 Thread duane voth
I've been abusing vmalloc() recently and stumbled across a rather obscure bug. The code is nearly identical for 2.2 and 2.4 so I suspect it exists in both trees and has been there for quite some time. Under a heavy memory load (when __get_free_page(GFP_KERNEL) is occasionally returning NULL)

obscure bug in vmalloc

2001-02-01 Thread duane voth
I've been abusing vmalloc() recently and stumbled across a rather obscure bug. The code is nearly identical for 2.2 and 2.4 so I suspect it exists in both trees and has been there for quite some time. Under a heavy memory load (when __get_free_page(GFP_KERNEL) is occasionally returning NULL)

Re: obscure bug in vmalloc

2001-02-01 Thread duane voth
duane voth wrote: ... I've attached a patch that can be used to watch for the problem. The following is a 2.2 patch (2.4 will follow in a few minutes). If you see "vmalloc error" you might want to uncomment the look_for_dangling_pgds function to get a better feel for the pgds