summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/projects/libunwind/src
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2015-09-22 23:57:52 +0000
committerjeff <jeff@FreeBSD.org>2015-09-22 23:57:52 +0000
commitb17d09da889fe2ed4248d0b8ac4c34cabb9ff907 (patch)
treea51c331440d31c9fd4cbffc5f7e45529222ff07d /contrib/llvm/projects/libunwind/src
parentd439601b7b43ea2d3b131c2d151176dca58bf5eb (diff)
downloadFreeBSD-src-b17d09da889fe2ed4248d0b8ac4c34cabb9ff907.zip
FreeBSD-src-b17d09da889fe2ed4248d0b8ac4c34cabb9ff907.tar.gz
Some refactoring of the buf/vm interface.
- Eliminate bogus page replacement that is inconsistently applied in the invalidation loop in brelse. This has been a no-op in modern times as biodone() is responsible for cleaning up after bogus pages. This would've spammed the console with printfs at a minimum. - Allow the compiler and human readers alike to reason about allocbuf() by splitting it into constituent parts. - Separate the VM manipulating and buf manipulating code in brelse() and bufdone() so that the intentions are clear. This makes it evident that there are several duplicated buf pages loops that will be consolidated at a later time. Reviewed by: kib Tested by: pho Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/projects/libunwind/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud