From 1e624196f43c3a62122959e15c5f03572cdadb5d Mon Sep 17 00:00:00 2001 From: Ram Gupta Date: Mon, 10 Apr 2006 22:52:57 -0700 Subject: [PATCH] [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-format-patch failed