commit | 1e624196f43c3a62122959e15c5f03572cdadb5d | [log] [tgz] |
---|---|---|
author | Ram Gupta <ram.gupta5@gmail.com> | Mon Apr 10 22:52:57 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Apr 11 06:18:32 2006 -0700 |
tree | 4196ccebe125c17dabc011422c6ff251835d1933 | |
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>