Date: Wed, 04 Oct 2000 12:32:09 -0400 (EDT) From: "Alexander N. Kabaev" <ak03@gte.com> To: freebsd-hackers@freebsd.org Subject: How to allocate kernel memory with PG_NC_PCD set Message-ID: <XFMail.001004123209.ak03@gte.com>
next in thread | raw e-mail | index | archive | help
The subject says it all :) What is the best way to allocate kernel memory with non-cacheable bit set? Or, better yet, is it possible to change caching bit on an already kmalloc'ed memory block? Will something like this work? pt_entry_t pte; pte = (pt_entry_t)vtopte(vaddr); *pte |= PG_NC_PCD; invtlb(); ---------------------------------- E-Mail: Alexander N. Kabaev <ak03@gte.com> Date: 04-Oct-00 Time: 12:12:22 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001004123209.ak03>