diff options
| author | Wei Yang <[email protected]> | 2018-06-07 17:06:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-06-07 17:34:35 -0700 |
| commit | d538c164fc018bdb79f07f904fa9d48acf18bb0a (patch) | |
| tree | 229420d94dcf7f7c0950d8b92cf621501167525c /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 688272809fcce5b17fcefd5892b59f3788efb144 (diff) | |
mm/sparse.c: check __highest_present_section_nr only for a present section
When searching a present section, there are two boundaries:
* __highest_present_section_nr
* NR_MEM_SECTIONS
And it is known, __highest_present_section_nr is a more strict boundary
than NR_MEM_SECTIONS. This means it would be necessary to check
__highest_present_section_nr only.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Acked-by: David Rientjes <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions