diff options
author | Mark Johnston <markj@FreeBSD.org> | 2019-08-26 20:20:10 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2019-08-26 20:20:10 +0000 |
commit | a70e17eecad468b652f0e201bf47c4dd65cddfc5 (patch) | |
tree | df389664621294545af5cbc039491ffaf171c638 /sys/sys/sockbuf.h | |
parent | 4e38d474e1e462ca5103dc2883abed47e7a6bf14 (diff) | |
download | src-a70e17eecad468b652f0e201bf47c4dd65cddfc5.tar.gz src-a70e17eecad468b652f0e201bf47c4dd65cddfc5.zip |
Fix a few nits in vm_pqbatch_process_page().
- Don't bother masking off non-queue state flags when loading the
page's atomic state, since it is only required for one of the
function's assertions. Update the assertion instead.
- Remove an incorrect comment regarding synchronization with the
page daemon. The page daemon only ever checks for PGA_ENQUEUED
with the page queue lock held.
- When clearing requeue flags, only clear the flags that have been
acted upon.
Reviewed by: kib (previous version)
Discussed with: alc
Tested by: pho (part of a larger patch)
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D21368
Notes
Notes:
svn path=/head/; revision=351518
Diffstat (limited to 'sys/sys/sockbuf.h')
0 files changed, 0 insertions, 0 deletions