disable buggy medium-allocation code

svn: r14567
This commit is contained in:
Matthew Flatt 2009-04-20 16:41:57 +00:00
parent f51f8c8b7f
commit 7cee07e02d

View File

@ -563,6 +563,9 @@ static void *allocate_medium(size_t sizeb, int type)
struct mpage *page;
struct objhead *info;
/* TEMPORARILY DISABLE MEDIUM PAGES */
return allocate_big(sizeb, type);
if (sizeb > (1 << (LOG_APAGE_SIZE - 1)))
return allocate_big(sizeb, type);