summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-09-02 14:46:05 -0400
committerTejun Heo <tj@kernel.org>2014-09-02 14:46:05 -0400
commit9c824b6a172c8d44a6b037946bae90127c969b1b (patch)
tree32a8eb3ce9e3866ff8194d7fdfc5203bb5184e0e /Makefile
parent5835d96e9ce4efdba8c6cefffc2f1575925456de (diff)
downloadop-kernel-dev-9c824b6a172c8d44a6b037946bae90127c969b1b.zip
op-kernel-dev-9c824b6a172c8d44a6b037946bae90127c969b1b.tar.gz
percpu: make sure chunk->map array has available space
An allocation attempt may require extending chunk->map array which requires GFP_KERNEL context which isn't available for atomic allocations. This patch ensures that chunk->map array usually keeps some amount of available space by directly allocating buffer space during GFP_KERNEL allocations and scheduling async extension during atomic ones. This should make atomic allocation failures from map space exhaustion rare. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud