diff options
author | David Rientjes <[email protected]> | 2015-03-12 16:25:54 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-03-12 18:46:07 -0700 |
commit | 44fc80573cc760a7154f41fd0a958ee10eba1a81 (patch) | |
tree | 2d3fd80fa0bc653b2be577e38ef38217727acd22 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | e009d5dc0a94a7133e5f1c083732d760bfd038e6 (diff) |
mm, hugetlb: close race when setting PageTail for gigantic pages
Now that gigantic pages are dynamically allocatable, care must be taken to
ensure that p->first_page is valid before setting PageTail.
If this isn't done, then it is possible to race and have compound_head()
return NULL.
Signed-off-by: David Rientjes <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Cc: Luiz Capitulino <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Acked-by: Hillf Danton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions