svn commit: r310108 - stable/11/sys/vm
Konstantin Belousov
kib at FreeBSD.org
Thu Dec 15 10:42:15 UTC 2016
Author: kib
Date: Thu Dec 15 10:42:14 2016
New Revision: 310108
URL: https://svnweb.freebsd.org/changeset/base/310108
Log:
MFC r309708:
Style.
Modified:
stable/11/sys/vm/phys_pager.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/vm/phys_pager.c
==============================================================================
--- stable/11/sys/vm/phys_pager.c Thu Dec 15 10:36:34 2016 (r310107)
+++ stable/11/sys/vm/phys_pager.c Thu Dec 15 10:42:14 2016 (r310108)
@@ -56,9 +56,6 @@ phys_pager_init(void)
mtx_init(&phys_pager_mtx, "phys_pager list", NULL, MTX_DEF);
}
-/*
- * MPSAFE
- */
static vm_object_t
phys_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot,
vm_ooffset_t foff, struct ucred *cred)
@@ -101,8 +98,8 @@ phys_pager_alloc(void *handle, vm_ooffse
object = object1;
object1 = NULL;
object->handle = handle;
- TAILQ_INSERT_TAIL(&phys_pager_object_list, object,
- pager_object_list);
+ TAILQ_INSERT_TAIL(&phys_pager_object_list,
+ object, pager_object_list);
}
} else {
if (pindex > object->size)
@@ -117,9 +114,6 @@ phys_pager_alloc(void *handle, vm_ooffse
return (object);
}
-/*
- * MPSAFE
- */
static void
phys_pager_dealloc(vm_object_t object)
{
@@ -165,7 +159,7 @@ phys_pager_getpages(vm_object_t object,
static void
phys_pager_putpages(vm_object_t object, vm_page_t *m, int count, boolean_t sync,
- int *rtvals)
+ int *rtvals)
{
panic("phys_pager_putpage called");
@@ -183,7 +177,7 @@ phys_pager_putpages(vm_object_t object,
#endif
static boolean_t
phys_pager_haspage(vm_object_t object, vm_pindex_t pindex, int *before,
- int *after)
+ int *after)
{
vm_pindex_t base, end;
More information about the svn-src-stable
mailing list