Looking at the source code, it seems like the __get_free_pages call is failing. But I don't know what is the significance of said call, and why it fails beyond the 1MiB limit.
/** * hmcdrv_cache_startup() - startup of HMC drive cache * @cachesize: cache size * * Return: 0 on success, else a (negative) error code */ int hmcdrv_cache_startup(size_t cachesize) { if (cachesize > 0) { /* perform caching ? */ hmcdrv_cache_order = get_order(cachesize); hmcdrv_cache_file.content = (void *) __get_free_pages(GFP_KERNEL | GFP_DMA, hmcdrv_cache_order); if (!hmcdrv_cache_file.content) { pr_err("Allocating the requested cache size of %zu bytes failed\n", cachesize); return -ENOMEM; } pr_debug("content cache enabled, size is %zu bytes\n", cachesize); } hmcdrv_cache_file.len = cachesize; return 0; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1806115 Title: cannot set hmcdrv cachesize to 1GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1806115/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs