The size of drc_hashtbl depends on totalram_pages and totalhigh_pages mm variables and limited to 96k which means 5th memory order.
Use kvzalloc() for drc_hashtbl allocation to fallback to vmalloc() in case of high order page is not available at the moment. https://jira.sw.ru/browse/PSBM-84234 v2: Make use of the mainstream patch which partially fixes the problem. Jeff Layton (1): nfsd: more robust allocation failure handling in nfsd_reply_cache_init Oleg Babin (1): nfsd: use kvzalloc() to allocate memory for drc_hashtbl fs/nfsd/nfscache.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 1.8.3.1 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel