From: Ram Gupta Date: Tue, 11 Apr 2006 05:52:57 +0000 (-0700) Subject: [PATCH] mm: fix bug in brk() X-Git-Tag: v2.6.17-rc2~265 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e624196f43c3a62122959e15c5f03572cdadb5d;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed