summaryrefslogtreecommitdiff
path: root/kern/kmem.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-01-02 23:38:19 +0100
committerRichard Braun <rbraun@sceen.net>2014-01-02 23:38:19 +0100
commit8ad09341a41f54c846296a4265d0914f24e5a69b (patch)
tree46b1454b40e530c414d8ffa1466ac58ce10f6da3 /kern/kmem.c
parent73cb08aea72483f509d774630a63006b9338c1ad (diff)
Declare variables as read mostly where appropriate
Diffstat (limited to 'kern/kmem.c')
-rw-r--r--kern/kmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/kmem.c b/kern/kmem.c
index 0a5562a1..b5293335 100644
--- a/kern/kmem.c
+++ b/kern/kmem.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011, 2012, 2013 Richard Braun.
+ * Copyright (c) 2010-2014 Richard Braun.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -124,7 +124,7 @@
*
* See struct kmem_cpu_pool_type for a description of the values.
*/
-static struct kmem_cpu_pool_type kmem_cpu_pool_types[] = {
+static struct kmem_cpu_pool_type kmem_cpu_pool_types[] __read_mostly = {
{ 32768, 1, 0, NULL },
{ 4096, 8, CPU_L1_SIZE, NULL },
{ 256, 64, CPU_L1_SIZE, NULL },