Revision 1c59827d1da9bcd6970800d4f8a031b5859e8b4c authored by Hugh Dickins on 20 October 2005, 04:23:43 UTC, committed by Linus Torvalds on 20 October 2005, 06:04:30 UTC
hugetlbfs allows truncation of its files (should it?), but hugetlb.c often forgets that: crashes and misaccounting ensue. copy_hugetlb_page_range better grab the src page_table_lock since we don't want to guess what happens if concurrently truncated. unmap_hugepage_range rss accounting must not assume the full range was mapped. follow_hugetlb_page must guard with page_table_lock and be prepared to exit early. Restyle copy_hugetlb_page_range with a for loop like the others there. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent e03d13e
File | Mode | Size |
---|---|---|
amijoy.txt | -rw-r--r-- | 7.5 KB |
appletouch.txt | -rw-r--r-- | 3.0 KB |
atarikbd.txt | -rw-r--r-- | 25.5 KB |
cd32.txt | -rw-r--r-- | 535 bytes |
cs461x.txt | -rw-r--r-- | 2.1 KB |
ff.txt | -rw-r--r-- | 7.4 KB |
gameport-programming.txt | -rw-r--r-- | 5.8 KB |
iforce-protocol.txt | -rw-r--r-- | 7.8 KB |
input-programming.txt | -rw-r--r-- | 9.7 KB |
input.txt | -rw-r--r-- | 11.5 KB |
interactive.fig | -rw-r--r-- | 1.4 KB |
joystick-api.txt | -rw-r--r-- | 9.5 KB |
joystick-parport.txt | -rw-r--r-- | 19.5 KB |
joystick.txt | -rw-r--r-- | 20.2 KB |
shape.fig | -rw-r--r-- | 1.9 KB |
xpad.txt | -rw-r--r-- | 4.3 KB |
yealink.txt | -rw-r--r-- | 5.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...