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 |
---|---|---|
00-INDEX | -rw-r--r-- | 2.1 KB |
53c700.txt | -rw-r--r-- | 4.9 KB |
BusLogic.txt | -rw-r--r-- | 25.8 KB |
ChangeLog.1992-1997 | -rw-r--r-- | 58.6 KB |
ChangeLog.ips | -rw-r--r-- | 5.2 KB |
ChangeLog.lpfc | -rw-r--r-- | 87.6 KB |
ChangeLog.megaraid | -rw-r--r-- | 15.8 KB |
ChangeLog.ncr53c8xx | -rw-r--r-- | 22.2 KB |
ChangeLog.sym53c8xx | -rw-r--r-- | 28.8 KB |
ChangeLog.sym53c8xx_2 | -rw-r--r-- | 5.9 KB |
FlashPoint.txt | -rw-r--r-- | 8.4 KB |
LICENSE.FlashPoint | -rw-r--r-- | 2.6 KB |
Mylex.txt | -rw-r--r-- | 301 bytes |
NinjaSCSI.txt | -rw-r--r-- | 3.8 KB |
aha152x.txt | -rw-r--r-- | 6.4 KB |
aic79xx.txt | -rw-r--r-- | 24.2 KB |
aic7xxx.txt | -rw-r--r-- | 20.1 KB |
aic7xxx_old.txt | -rw-r--r-- | 23.9 KB |
cpqfc.txt | -rw-r--r-- | 12.3 KB |
dc395x.txt | -rw-r--r-- | 3.3 KB |
dpti.txt | -rw-r--r-- | 3.5 KB |
dtc3x80.txt | -rw-r--r-- | 1.9 KB |
g_NCR5380.txt | -rw-r--r-- | 2.2 KB |
ibmmca.txt | -rw-r--r-- | 75.9 KB |
in2000.txt | -rw-r--r-- | 8.2 KB |
lpfc.txt | -rw-r--r-- | 3.2 KB |
megaraid.txt | -rw-r--r-- | 3.0 KB |
ncr53c7xx.txt | -rw-r--r-- | 1.1 KB |
ncr53c8xx.txt | -rw-r--r-- | 72.1 KB |
osst.txt | -rw-r--r-- | 8.7 KB |
ppa.txt | -rw-r--r-- | 392 bytes |
qlogicfas.txt | -rw-r--r-- | 3.2 KB |
qlogicisp.txt | -rw-r--r-- | 797 bytes |
scsi-changer.txt | -rw-r--r-- | 6.1 KB |
scsi-generic.txt | -rw-r--r-- | 4.1 KB |
scsi.txt | -rw-r--r-- | 2.2 KB |
scsi_eh.txt | -rw-r--r-- | 16.2 KB |
scsi_mid_low_api.txt | -rw-r--r-- | 58.5 KB |
st.txt | -rw-r--r-- | 23.2 KB |
sym53c500_cs.txt | -rw-r--r-- | 1.1 KB |
sym53c8xx_2.txt | -rw-r--r-- | 39.9 KB |
tmscsim.txt | -rw-r--r-- | 20.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...