https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223831
Bug ID: 223831
Summary: [patch] swap_pager.c to release multiple swap blocks
at a time
Product: Base System
Version: 11.1-STABLE
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Keywords: patch
Created attachment 188225
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188225&action=edit
release multiple blocks at a time
This allows to release multiple swap blocks via swp_pager_freeswapspace().
For each call, swp_pager_freeswapspace() locks. Releasing multiple
blocks helps to reduce number of locks. If a swblk contains
continuous blocks, it reduces up to SWAP_META_PAGES-1 locks.
This patch covers 2 case: 1. when a process exits and all of its
swap blocks are released and 2. when a process is paged in from
swap space.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"