projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vmpressure: do not check for pending work to prevent from new work
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
mm
/
zbud.c
diff --git
a/mm/zbud.c
b/mm/zbud.c
index
9bb4710
..
ad1e781
100644
(file)
--- a/
mm/zbud.c
+++ b/
mm/zbud.c
@@
-257,7
+257,7
@@
int zbud_alloc(struct zbud_pool *pool, int size, gfp_t gfp,
if (size <= 0 || gfp & __GFP_HIGHMEM)
return -EINVAL;
- if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED)
+ if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED
- CHUNK_SIZE
)
return -ENOSPC;
chunks = size_to_chunks(size);
spin_lock(&pool->lock);