diff options
author | Joonsoo Kim | 2016-05-19 17:10:23 -0700 |
---|---|---|
committer | Linus Torvalds | 2016-05-19 19:12:14 -0700 |
commit | 511e3a05881221a7fc63e36f3d604887040fc845 (patch) | |
tree | fcca17d123d2af17f852df8acf1e4f6a94e5b4f0 /lib/sha1.c | |
parent | 03d1d43a1262b347a9aa814980438fff8eb32edc (diff) |
mm/slab: make cache_grow() handle the page allocated on arbitrary node
Currently, cache_grow() assumes that allocated page's nodeid would be
same with parameter nodeid which is used for allocation request. If we
discard this assumption, we can handle fallback_alloc() case gracefully.
So, this patch makes cache_grow() handle the page allocated on arbitrary
node and clean-up relevant code.
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Jesper Dangaard Brouer <brouer@redhat.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions