aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDean Nelson <[email protected]>2010-12-02 14:31:12 -0800
committerLinus Torvalds <[email protected]>2010-12-02 14:51:14 -0800
commit1f64d69c7ad2e48e697493e45590679f7a69b7b2 (patch)
tree62e6c3d1dd31e1f87992710cde6b0b905f482606 /tools/perf/util/trace-event-scripting.c
parent94c35de9a918665d9354efe2bafc29ba4b37497a (diff)
mm/hugetlb.c: avoid double unlock_page() in hugetlb_fault()
Have hugetlb_fault() call unlock_page(page) only if it had previously called lock_page(page). Setting CONFIG_DEBUG_VM=y and then running the libhugetlbfs test suite, resulted in the tripping of VM_BUG_ON(!PageLocked(page)) in unlock_page() having been called by hugetlb_fault() when page == pagecache_page. This patch remedied the problem. Signed-off-by: Dean Nelson <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions