diff options
author | Ram Gupta <ram.gupta5@gmail.com> | 2006-04-10 22:52:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 06:18:32 -0700 |
commit | 1e624196f43c3a62122959e15c5f03572cdadb5d (patch) | |
tree | 4196ccebe125c17dabc011422c6ff251835d1933 /drivers | |
parent | d6fef9da19b7acd46e04b7dbbba726b3febeca94 (diff) |
[PATCH] mm: fix bug in brk()
The code checks for newbrk with oldbrk which are page aligned before making
a check for the memory limit set of data segment. If the memory limit is
not page aligned in that case it bypasses the test for the limit if the
memory allocation is still for the same page.
Signed-off-by: Ram Gupta <ram.gupta5@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions