diff options
author | Hillf Danton <[email protected]> | 2012-01-20 14:34:13 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-01-23 08:38:48 -0800 |
commit | 409eb8c2611b4310947a150af988111f7f52ab15 (patch) | |
tree | a410c7c9c5a58643da7b4c2abdb7796d1255f048 /net/lapb/lapb_timer.c | |
parent | 6568d4a9c9ff16d6c4f0b14dfea567806ce579e4 (diff) |
mm/hugetlb.c: undo change to page mapcount in fault handler
Page mapcount should be updated only if we are sure that the page ends
up in the page table otherwise we would leak if we couldn't COW due to
reservations or if idx is out of bounds.
Signed-off-by: Hillf Danton <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions