git: vm: Change 'kernel_object' global to pointer type
Aaron LI
aly at crater.dragonflybsd.org
Sat Jun 19 03:49:20 PDT 2021
commit 712b6620b5ccdc0b01ffc8de24212b24645a6239
Author: Aaron LI <aly at aaronly.me>
Date: Fri May 21 21:39:12 2021 +0800
vm: Change 'kernel_object' global to pointer type
Following the previous commits, this commit changes the 'kernel_object'
to pointer type of 'struct vm_object *'. This makes it align better
with 'kernel_map' and simplifies the code a bit.
No functional changes.
Summary of changes:
sys/kern/kern_slaballoc.c | 22 +++++++++++-----------
sys/kern/vfs_bio.c | 6 +++---
sys/platform/vkernel64/x86_64/mp.c | 8 ++++----
sys/vm/vm_fault.c | 2 +-
sys/vm/vm_kern.c | 28 ++++++++++++++--------------
sys/vm/vm_map.c | 2 +-
sys/vm/vm_object.c | 7 ++++---
sys/vm/vm_object.h | 2 +-
sys/vm/vm_pageout.c | 3 +--
sys/vm/vm_pager.c | 6 +++---
10 files changed, 43 insertions(+), 43 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/712b6620b5ccdc0b01ffc8de24212b24645a6239
--
DragonFly BSD source repository
More information about the Commits
mailing list