Print this page
re #13613 rb4516 Tunables needs volatile keyword

@@ -20,10 +20,13 @@
  */
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+ */
 
 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*      All Rights Reserved   */
 
 /*

@@ -53,11 +56,11 @@
 #endif
 
 uint_t page_colors = 0;
 uint_t page_colors_mask = 0;
 uint_t page_coloring_shift = 0;
-int consistent_coloring;
+volatile int consistent_coloring;
 int update_proc_pgcolorbase_after_fork = 0;
 
 uint_t mmu_page_sizes = DEFAULT_MMU_PAGE_SIZES;
 uint_t max_mmu_page_sizes = MMU_PAGE_SIZES;
 uint_t mmu_hashcnt = DEFAULT_MAX_HASHCNT;