Date: Mon, 12 Oct 2015 16:11:19 -0400 From: suresh gumpula <gsuryacse7k@gmail.com> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: kernel pages superpage promotion/demotion Message-ID: <CAJOqHmitGr2oEnNheoG2MQYVcwsPNFyPHqhsTA%2BsAC40Yqw0Rg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I understand that user space VM map pages dynamically promoted/demoted to super page if the kernel thinks that it gains the performance. The question is , does this apply to kernel map pages too ? And is it possible to write protect kernel address space VA with pmap_protect(9). Since the protection is per 4k page, I see this routine tries to demote to 4k page. Or this is only for user space maps to support mprotect(2) and gdb watchpoints. Do we have any other API to write protect kernel addresses which come from UMA zone allocations ? Could some one with VM expertise please comment on this ? Thanks Suresh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOqHmitGr2oEnNheoG2MQYVcwsPNFyPHqhsTA%2BsAC40Yqw0Rg>