diff options
author | Alan Cox <alc@FreeBSD.org> | 2005-05-18 22:08:52 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2005-05-18 22:08:52 +0000 |
commit | cf51adc0a128873d944ac4e8ef76b13d109e6f07 (patch) | |
tree | f5632286fe4b31d3604c29cf70294991d0b2dcc3 /sys/vm/vm_pager.h | |
parent | b578b0bdd349ead64753d064b05f33eb82df37b5 (diff) | |
download | src-cf51adc0a128873d944ac4e8ef76b13d109e6f07.tar.gz src-cf51adc0a128873d944ac4e8ef76b13d109e6f07.zip |
Update some comments to reflect the change from spl-based to lock-based
synchronization.
Notes
Notes:
svn path=/head/; revision=146355
Diffstat (limited to 'sys/vm/vm_pager.h')
-rw-r--r-- | sys/vm/vm_pager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/vm/vm_pager.h b/sys/vm/vm_pager.h index 183007adb1f9..652073cac339 100644 --- a/sys/vm/vm_pager.h +++ b/sys/vm/vm_pager.h @@ -156,7 +156,7 @@ vm_pager_put_pages( * some idea of the number of pages before and after the requested * page can be I/O'd efficiently. * - * This routine does not have to be called at any particular spl. + * The object must be locked. */ static __inline boolean_t vm_pager_has_page( @@ -176,8 +176,9 @@ vm_pager_has_page( /* * vm_pager_page_unswapped * - * called at splvm() to destroy swap associated with the page. + * Destroy swap associated with the page. * + * The object containing the page must be locked. * This function may not block. * * XXX: A much better name would be "vm_pager_page_dirtied()" |