[Bug 201327] [patch] avoid KVA fragment in memguard when using MG_GUARD_AROUND option
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 4 10:04:20 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201327
Bug ID: 201327
Summary: [patch] avoid KVA fragment in memguard when using
MG_GUARD_AROUND option
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: luke.tw at gmail.com
Keywords: patch
Created attachment 158323
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158323&action=edit
memguard_cursor patch
With MG_GUARD_AROUND option, memguard increases memguard_cursor with one more
PAGE_SIZE.
This results in one PAGE_SIZE fragment in KVA.
* before patch
old memguard_cursor: 0xfffffe0000400000
memeguard:allocate 0x3000
next memguard_curor: 0xfffffe0000404000
* after patch
old memguard_cursor: 0xfffffe0000400000
memeguard:allocate 0x3000
next memguard_curor: 0xfffffe0000403000
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list