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 <[EMAIL PROTECTED]>
Date: 04-Oct-00
Time: 12:12:22
----------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to