The patch titled failslab: remove __GFP_HIGHMEM filtering has been added to the -mm tree. Its filename is fault-injection-capability-for-kmalloc-failslab-remove-__gfp_highmem-filtering.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: failslab: remove __GFP_HIGHMEM filtering From: Akinobu Mita <akinobu.mita@xxxxxxxxx> Filtering __GFP_HIGHMEM flag for slab allocations is useless. Because no one sets __GFP_HIGHMEM for slab allocator, unlike for page allocator. Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- Documentation/fault-injection/fault-injection.txt | 2 - mm/slab.c | 17 +----------- 2 files changed, 2 insertions(+), 17 deletions(-) diff -puN Documentation/fault-injection/fault-injection.txt~fault-injection-capability-for-kmalloc-failslab-remove-__gfp_highmem-filtering Documentation/fault-injection/fault-injection.txt --- a/Documentation/fault-injection/fault-injection.txt~fault-injection-capability-for-kmalloc-failslab-remove-__gfp_highmem-filtering +++ a/Documentation/fault-injection/fault-injection.txt @@ -86,7 +86,6 @@ configuration of fault-injection capabil specifies the maximum stacktrace depth walked during search for a caller within [address-start,address-end). -- /debug/failslab/ignore-gfp-highmem: - /debug/fail_page_alloc/ignore-gfp-highmem: Format: { 0 | 1 } @@ -167,7 +166,6 @@ echo 10 > /debug/$FAILNAME/probability echo 100 > /debug/$FAILNAME/interval echo -1 > /debug/$FAILNAME/times echo 2 > /debug/$FAILNAME/verbose -echo 1 > /debug/$FAILNAME/ignore-gfp-highmem echo 1 > /debug/$FAILNAME/ignore-gfp-wait blacklist() diff -puN mm/slab.c~fault-injection-capability-for-kmalloc-failslab-remove-__gfp_highmem-filtering mm/slab.c --- a/mm/slab.c~fault-injection-capability-for-kmalloc-failslab-remove-__gfp_highmem-filtering +++ a/mm/slab.c @@ -3101,15 +3101,10 @@ static struct failslab_attr { struct fault_attr attr; - u32 ignore_gfp_highmem; u32 ignore_gfp_wait; - #ifdef CONFIG_FAULT_INJECTION_DEBUG_FS - - struct dentry *ignore_gfp_highmem_file; struct dentry *ignore_gfp_wait_file; - -#endif /* CONFIG_FAULT_INJECTION_DEBUG_FS */ +#endif } failslab = { .attr = FAULT_ATTR_INITIALIZER, @@ -3127,8 +3122,6 @@ static int should_failslab(struct kmem_c return 0; if (flags & __GFP_NOFAIL) return 0; - if (failslab.ignore_gfp_highmem && (flags & __GFP_HIGHMEM)) - return 0; if (failslab.ignore_gfp_wait && (flags & __GFP_WAIT)) return 0; @@ -3152,15 +3145,9 @@ static int __init failslab_debugfs(void) debugfs_create_bool("ignore-gfp-wait", mode, dir, &failslab.ignore_gfp_wait); - failslab.ignore_gfp_highmem_file = - debugfs_create_bool("ignore-gfp-highmem", mode, dir, - &failslab.ignore_gfp_highmem); - - if (!failslab.ignore_gfp_wait_file || - !failslab.ignore_gfp_highmem_file) { + if (!failslab.ignore_gfp_wait_file) { err = -ENOMEM; debugfs_remove(failslab.ignore_gfp_wait_file); - debugfs_remove(failslab.ignore_gfp_highmem_file); cleanup_fault_attr_dentries(&failslab.attr); } _ Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are acpi-fix-single-linked-list-manipulation.patch drm-fix-return-value-check.patch git-input.patch input-make-serio_register_driver-return-error.patch input-check-serio_register_driver-error.patch input-check-whether-serio-dirver-registration-is-completed.patch input-change-to-gfp_kernel-for-serio_register_driver-event-allocation.patch git-mtd.patch gss_spkm3-fix-error-handling-in-module-init.patch auth_gss-unregister-gss_domain-when-unloading-module.patch auth_gss-unregister-gss_domain-when-unloading-module-fix.patch git-pcmcia.patch git-watchdog.patch paride-return-proper-error-code.patch bit-revese-library.patch crc32-replace-bitreverse-by-bitrev32.patch video-use-bitrev8.patch net-use-bitrev8.patch isdn-hisax-use-bitrev8.patch atm-ambassador-use-bitrev8.patch isdn-gigaset-use-bitrev8.patch isdn-fix-missing-unregister_capi_driver.patch fault-injection-documentation-and-scripts.patch fault-injection-capabilities-infrastructure.patch fault-injection-capabilities-infrastructure-tidy.patch fault-injection-capabilities-infrastructure-tweaks.patch fault-injection-capability-for-kmalloc.patch fault-injection-capability-for-kmalloc-failslab-remove-__gfp_highmem-filtering.patch fault-injection-capability-for-alloc_pages.patch fault-injection-capability-for-disk-io.patch fault-injection-process-filtering-for-fault-injection-capabilities.patch fault-injection-stacktrace-filtering.patch fault-injection-Kconfig-cleanup.patch fault-injection-stacktrace-filtering-kconfig-fix.patch fault-injection-Kconfig-cleanup-config_fault_injection-help-text.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html