summaryrefslogtreecommitdiffstats
path: root/Documentation/serial
diff options
context:
space:
mode:
authorVitaly Wool <vitalywool@gmail.com>2018-04-06 01:23:32 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-06 06:36:25 +0200
commit5c9bab592f53328b3e00d7293378b714abf47a2a (patch)
tree8785d51da7ca697c8a781e56d309f341e3bb13a3 /Documentation/serial
parentmm/huge_memory.c: reorder operations in __split_huge_page_tail() (diff)
downloadlinux-5c9bab592f53328b3e00d7293378b714abf47a2a.tar.xz
linux-5c9bab592f53328b3e00d7293378b714abf47a2a.zip
z3fold: limit use of stale list for allocation
Currently if z3fold couldn't find an unbuddied page it would first try to pull a page off the stale list. The problem with this approach is that we can't 100% guarantee that the page is not processed by the workqueue thread at the same time unless we run cancel_work_sync() on it, which we can't do if we're in an atomic context. So let's just limit stale list usage to non-atomic contexts only. Link: http://lkml.kernel.org/r/47ab51e7-e9c1-d30e-ab17-f734dbc3abce@gmail.com Signed-off-by: Vitaly Vul <vitaly.vul@sony.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: <Oleksiy.Avramchenko@sony.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/serial')
0 files changed, 0 insertions, 0 deletions