huge_memory.c (b46e756f5e47031c67658ff036e5ffe27062fa43) | huge_memory.c (e496cf3d782135c1cca0d154d4b924517ff58de0) |
---|---|
1/* 2 * Copyright (C) 2009 Red Hat, Inc. 3 * 4 * This work is licensed under the terms of the GNU GPL, version 2. See 5 * the COPYING file in the top-level directory. 6 */ 7 8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt --- 273 unchanged lines hidden (view full) --- 282static struct kobj_attribute debug_cow_attr = 283 __ATTR(debug_cow, 0644, debug_cow_show, debug_cow_store); 284#endif /* CONFIG_DEBUG_VM */ 285 286static struct attribute *hugepage_attr[] = { 287 &enabled_attr.attr, 288 &defrag_attr.attr, 289 &use_zero_page_attr.attr, | 1/* 2 * Copyright (C) 2009 Red Hat, Inc. 3 * 4 * This work is licensed under the terms of the GNU GPL, version 2. See 5 * the COPYING file in the top-level directory. 6 */ 7 8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt --- 273 unchanged lines hidden (view full) --- 282static struct kobj_attribute debug_cow_attr = 283 __ATTR(debug_cow, 0644, debug_cow_show, debug_cow_store); 284#endif /* CONFIG_DEBUG_VM */ 285 286static struct attribute *hugepage_attr[] = { 287 &enabled_attr.attr, 288 &defrag_attr.attr, 289 &use_zero_page_attr.attr, |
290#ifdef CONFIG_SHMEM | 290#if defined(CONFIG_SHMEM) && defined(CONFIG_TRANSPARENT_HUGE_PAGECACHE) |
291 &shmem_enabled_attr.attr, 292#endif 293#ifdef CONFIG_DEBUG_VM 294 &debug_cow_attr.attr, 295#endif 296 NULL, 297}; 298 --- 1947 unchanged lines hidden --- | 291 &shmem_enabled_attr.attr, 292#endif 293#ifdef CONFIG_DEBUG_VM 294 &debug_cow_attr.attr, 295#endif 296 NULL, 297}; 298 --- 1947 unchanged lines hidden --- |