diff options
| author | Wei Yang <[email protected]> | 2017-07-06 15:36:53 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-07-06 16:24:31 -0700 |
| commit | 172ffeb9b9c284c6676ce03721cccf9b4ec6680b (patch) | |
| tree | 687c145e37bd9d7ffb9f2f41f0ea4f1575764714 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f2f43e566a02a3bdde0a65e6a2e88d707c212a29 (diff) | |
mm/nobootmem.c: return 0 when start_pfn equals end_pfn
When start_pfn equals end_pfn, __free_pages_memory() has no effect and
__free_memory_core() will finally return (end_pfn - start_pfn) = 0.
This patch returns 0 directly when start_pfn equals end_pfn.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[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