aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChen Gang <[email protected]>2015-09-08 15:04:08 -0700
committerLinus Torvalds <[email protected]>2015-09-08 15:35:28 -0700
commitc9d13f5fc748a02cb5917a798f065681007342b9 (patch)
tree566dafe703c73afee482b789602efd8426833783 /tools/perf/scripts/python/stackcollapse.py
parentbde43c6c9f4f360ae549a0ed9f10a3e62e363aca (diff)
mm/mmap.c:insert_vm_struct(): check for failure before setting values
There's no point in initializing vma->vm_pgoff if the insertion attempt will be failing anyway. Run the checks before performing the initialization. Signed-off-by: Chen Gang <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions