The patch titled Subject: mm-hugetlb-generalize-writes-to-nr_hugepages-fix has been removed from the -mm tree. Its filename was mm-hugetlb-generalize-writes-to-nr_hugepages-fix.patch This patch was dropped because it was folded into mm-hugetlb-generalize-writes-to-nr_hugepages.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-hugetlb-generalize-writes-to-nr_hugepages-fix Cc: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Cc: Luiz Capitulino <lcapitulino@xxxxxxxxxx> Cc: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hugetlb.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN mm/hugetlb.c~mm-hugetlb-generalize-writes-to-nr_hugepages-fix mm/hugetlb.c --- a/mm/hugetlb.c~mm-hugetlb-generalize-writes-to-nr_hugepages-fix +++ a/mm/hugetlb.c @@ -2260,6 +2260,9 @@ static int hugetlb_sysctl_handler_common unsigned long tmp = h->max_huge_pages; int ret; + if (!hugepages_supported()) + return -ENOTSUPP; + table->data = &tmp; table->maxlen = sizeof(unsigned long); ret = proc_doulongvec_minmax(table, write, buffer, length, ppos); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch fsnotify-rename-event-handling-functions.patch kbuild-explain-stack-protector-strong-config-logic.patch slub-use-new-node-functions.patch slab-use-get_node-and-kmem_cache_node-functions.patch slab-change-int-to-size_t-for-representing-allocation-size.patch mm-page_allocc-unexport-alloc_pages_exact_nid.patch dma-cma-support-arbitrary-bitmap-granularity.patch mm-vmallocc-add-a-schedule-point-to-vmalloc.patch include-linux-mmdebugh-add-vm_warn_once.patch mm-catch-memory-commitment-underflow.patch mm-hugetlb-generalize-writes-to-nr_hugepages.patch mm-oom-ensure-memoryless-node-zonelist-always-includes-zones-fix.patch list-fix-order-of-arguments-for-hlist_add_after_rcu-checkpatch-fixes.patch add-lib-globc-fix.patch lib-list_sortc-convert-to-pr_foo.patch lib-list_sortc-convert-to-pr_foo-fix.patch checkpatch-add-test-for-commit-id-formatting-style-in-commit-log.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