diff options
| author | Hugh Dickins <[email protected]> | 2006-10-28 10:38:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-28 11:30:53 -0700 |
| commit | ebed4bfc8da8df5b6b0bc4a5064a949f04683509 (patch) | |
| tree | 9991be7829c6a03d4a8c3307dae6b43e0f392dc5 /include/linux | |
| parent | 856fc29505556cf263f3dcda2533cf3766c14ab6 (diff) | |
[PATCH] hugetlb: fix absurd HugePages_Rsvd
If you truncated an mmap'ed hugetlbfs file, then faulted on the truncated
area, /proc/meminfo's HugePages_Rsvd wrapped hugely "negative". Reinstate my
preliminary i_size check before attempting to allocate the page (though this
only fixes the most obvious case: more work will be needed here).
Signed-off-by: Hugh Dickins <[email protected]>
Cc: Adam Litke <[email protected]>
Cc: David Gibson <[email protected]>
Cc: "Chen, Kenneth W" <[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