UMA zone alloc on large UMA zone causing Page fault in kernel mode
Jonathan Stuart
jstuart at adaranet.com
Mon Mar 7 23:10:10 UTC 2011
Hiya all,
Does anyone have any idea why a large UMA zone created without the UMA_ZONE_PAGEABLE flag would page fault in kernel mode when I uma_zalloc one item with M_ZERO | M_WAITOK. The fault takes place during the bzero'ing of
the memory.. the pointer *looks* valid, as well. This does not happen with some smaller zones I've been using.
The zone shows up in ddb's "show uma", and it's size 620756992.
Do I need to use UMA_ZONE_NOFREE to keep it in memory? This was not my understanding of that flag.
Thanks for any/all help, if code or ddb output would be preferable please let me know.
Kind Regards,
Jonathan Stuart
More information about the freebsd-hackers
mailing list