Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm __cacheline_aligned on a lock.
details: https://anonhg.NetBSD.org/src/rev/82a49d965172
branches: trunk
changeset: 846790:82a49d965172
user: ad <ad%NetBSD.org@localhost>
date: Sun Dec 01 16:44:11 2019 +0000
description:
__cacheline_aligned on a lock.
diffstat:
sys/uvm/uvm_device.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 57ec61569610 -r 82a49d965172 sys/uvm/uvm_device.c
--- a/sys/uvm/uvm_device.c Sun Dec 01 16:36:25 2019 +0000
+++ b/sys/uvm/uvm_device.c Sun Dec 01 16:44:11 2019 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index