geom_kern.c (e532a99901e26d3961f8f5c0e4969fce86f09456) | geom_kern.c (61322a0a8affb0c41dcf441ea331f041e15879ff) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 2002 Poul-Henning Kamp 5 * Copyright (c) 2002 Networks Associates Technology, Inc. 6 * All rights reserved. 7 * 8 * This software was developed for the FreeBSD Project by Poul-Henning Kamp --- 47 unchanged lines hidden (view full) --- 56#include <geom/geom.h> 57#include <geom/geom_int.h> 58 59MALLOC_DEFINE(M_GEOM, "GEOM", "Geom data structures"); 60 61struct sx topology_lock; 62 63static struct proc *g_proc; | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 2002 Poul-Henning Kamp 5 * Copyright (c) 2002 Networks Associates Technology, Inc. 6 * All rights reserved. 7 * 8 * This software was developed for the FreeBSD Project by Poul-Henning Kamp --- 47 unchanged lines hidden (view full) --- 56#include <geom/geom.h> 57#include <geom/geom_int.h> 58 59MALLOC_DEFINE(M_GEOM, "GEOM", "Geom data structures"); 60 61struct sx topology_lock; 62 63static struct proc *g_proc; |
64static struct thread *g_up_td; 65static struct thread *g_down_td; 66static struct thread *g_event_td; | 64static struct thread __read_mostly *g_up_td; 65static struct thread __read_mostly *g_down_td; 66static struct thread __read_mostly *g_event_td; |
67 | 67 |
68int g_debugflags; 69int g_collectstats = 1; | 68int __read_mostly g_debugflags; 69int __read_mostly g_collectstats = G_STATS_PROVIDERS; |
70int g_shutdown; 71int g_notaste; 72 73/* 74 * G_UP and G_DOWN are the two threads which push I/O through the 75 * stack. 76 * 77 * Things are procesed in a FIFO order, but these threads could be --- 163 unchanged lines hidden --- | 70int g_shutdown; 71int g_notaste; 72 73/* 74 * G_UP and G_DOWN are the two threads which push I/O through the 75 * stack. 76 * 77 * Things are procesed in a FIFO order, but these threads could be --- 163 unchanged lines hidden --- |