aboutsummaryrefslogtreecommitdiffstats
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2014-12-02 23:59:28 +0000
committerLinus Torvalds <[email protected]>2014-12-03 01:32:07 +0000
commit91b57191cfd152c02ded0745250167d0263084f8 (patch)
tree677bb8c059094859904003cb7af01cbee1d9773e /lib/genalloc.c
parentmm: frontswap: invalidate expired data on a dup-store failure (diff)
downloadkernel-91b57191cfd152c02ded0745250167d0263084f8.tar.gz
kernel-91b57191cfd152c02ded0745250167d0263084f8.zip
mm/vmpressure.c: fix race in vmpressure_work_fn()
In some android devices, there will be a "divide by zero" exception. vmpr->scanned could be zero before spin_lock(&vmpr->sr_lock). Addresses https://bugzilla.kernel.org/show_bug.cgi?id=88051 [[email protected]: neaten] Reported-by: ji_ang <[email protected]> Cc: Anton Vorontsov <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions