Module Name: src Committed By: ad Date: Sun Dec 1 16:44:11 UTC 2019
Modified Files: src/sys/uvm: uvm_device.c Log Message: __cacheline_aligned on a lock. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/uvm/uvm_device.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_device.c diff -u src/sys/uvm/uvm_device.c:1.66 src/sys/uvm/uvm_device.c:1.67 --- src/sys/uvm/uvm_device.c:1.66 Sat Oct 28 00:37:13 2017 +++ src/sys/uvm/uvm_device.c Sun Dec 1 16:44:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_device.c,v 1.66 2017/10/28 00:37:13 pgoyette Exp $ */ +/* $NetBSD: uvm_device.c,v 1.67 2019/12/01 16:44:11 ad Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_device.c,v 1.66 2017/10/28 00:37:13 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_device.c,v 1.67 2019/12/01 16:44:11 ad Exp $"); #include "opt_uvmhist.h" @@ -54,7 +54,7 @@ __KERNEL_RCSID(0, "$NetBSD: uvm_device.c LIST_HEAD(udv_list_struct, uvm_device); static struct udv_list_struct udv_list; -static kmutex_t udv_lock; +static kmutex_t udv_lock __cacheline_aligned; /* * functions