Date: Mon, 7 Mar 2011 14:54:47 -0800 From: Jonathan Stuart <jstuart@adaranet.com> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Cc: Patrick Mahan <PMahan@adaranet.com> Subject: UMA zone alloc on large UMA zone causing Page fault in kernel mode Message-ID: <32AB5C9615CC494997D9ABB1DB12783C024CDCB780@SJ-EXCH-1.adaranet.com>
next in thread | raw e-mail | index | archive | help
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 w= ith 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 und= erstanding of that flag. Thanks for any/all help, if code or ddb output would be preferable please l= et me know. Kind Regards, Jonathan Stuart
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32AB5C9615CC494997D9ABB1DB12783C024CDCB780>