util.c (6c5ab6511f718c3fb19bcc3f78a90b0e0b601675) util.c (19809c2da28aee5860ad9a2eff760730a0710df0)
1#include <linux/mm.h>
2#include <linux/slab.h>
3#include <linux/string.h>
4#include <linux/compiler.h>
5#include <linux/export.h>
6#include <linux/err.h>
7#include <linux/sched.h>
8#include <linux/sched/mm.h>

--- 368 unchanged lines hidden (view full) ---

377
378 /*
379 * It doesn't really make sense to fallback to vmalloc for sub page
380 * requests
381 */
382 if (ret || size <= PAGE_SIZE)
383 return ret;
384
1#include <linux/mm.h>
2#include <linux/slab.h>
3#include <linux/string.h>
4#include <linux/compiler.h>
5#include <linux/export.h>
6#include <linux/err.h>
7#include <linux/sched.h>
8#include <linux/sched/mm.h>

--- 368 unchanged lines hidden (view full) ---

377
378 /*
379 * It doesn't really make sense to fallback to vmalloc for sub page
380 * requests
381 */
382 if (ret || size <= PAGE_SIZE)
383 return ret;
384
385 return __vmalloc_node_flags(size, node, flags | __GFP_HIGHMEM);
385 return __vmalloc_node_flags(size, node, flags);
386}
387EXPORT_SYMBOL(kvmalloc_node);
388
389void kvfree(const void *addr)
390{
391 if (is_vmalloc_addr(addr))
392 vfree(addr);
393 else

--- 322 unchanged lines hidden ---
386}
387EXPORT_SYMBOL(kvmalloc_node);
388
389void kvfree(const void *addr)
390{
391 if (is_vmalloc_addr(addr))
392 vfree(addr);
393 else

--- 322 unchanged lines hidden ---