diff options
| author | Chen, Kenneth W <[email protected]> | 2006-10-04 02:15:24 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-04 07:55:12 -0700 |
| commit | fe1668ae5bf0145014c71797febd9ad5670d5d05 (patch) | |
| tree | a1ad042a0c9b604653ca24645358fe31d1bbcfd6 /include/linux | |
| parent | e80ee884ae0e3794ef2b65a18a767d502ad712ee (diff) | |
[PATCH] enforce proper tlb flush in unmap_hugepage_range
Spotted by Hugh that hugetlb page is free'ed back to global pool before
performing any TLB flush in unmap_hugepage_range(). This potentially allow
threads to abuse free-alloc race condition.
The generic tlb gather code is unsuitable to use by hugetlb, I just open
coded a page gathering list and delayed put_page until tlb flush is
performed.
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Ken Chen <[email protected]>
Acked-by: William Irwin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions