diff options
author | Wei Wang <[email protected]> | 2019-11-19 05:02:33 -0500 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2019-11-20 02:15:57 -0500 |
commit | c9a6820fc0da2603be3054ee7590eb9f350508a7 (patch) | |
tree | 5a10145a9b42125955879b8437c93448b2a12a4b /kernel/bpf/stackmap.c | |
parent | 60bd04f258b7816af851d22821d5e6ce5b09c326 (diff) |
virtio_balloon: fix shrinker count
Instead of multiplying by page order, virtio balloon divided by page
order. The result is that it can return 0 if there are a bit less
than MAX_ORDER - 1 pages in use, and then shrinker scan won't be called.
Cc: [email protected]
Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker")
Signed-off-by: Wei Wang <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions