diff options
| author | Jules Irenge <[email protected]> | 2020-04-06 20:08:09 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-04-07 10:43:41 -0700 |
| commit | 1b2a1e7bb9ce9936d6839c1023737ccff7889dee (patch) | |
| tree | 2711723141664410c339abbf3308a807817cafe9 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 77337edee7598d82fb5acf66cb91a5b3f0c46add (diff) | |
mm/hugetlb: add missing annotation for gather_surplus_pages()
Sparse reports a warning at gather_surplus_pages()
warning: context imbalance in hugetlb_cow() - unexpected unlock
The root cause is the missing annotation at gather_surplus_pages()
Add the missing __must_hold(&hugetlb_lock)
Signed-off-by: Jules Irenge <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions