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: [email protected]
          Reporter: [email protected]
          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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to