lkml.org 
[lkml]   [2004]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: function hugetlb_get_unmapped_area failed to find an unmapped area while unmapped area is huge
Date
From
Add subject.

>>-----Original Message-----
>>From: Zhang, Yanmin
>>Sent: 2004年10月19日 9:09
>>To: linux-kernel@vger.kernel.org
>>Cc: Chen, Kenneth W
>>Subject:
>>
>>In base kernel 2.6.9-rc4, function hugetlb_get_unmapped_area failed to find
>>an unmapped area while unmapped area is huge. That's because
>>hugetlb_get_unmapped_area just searches forward from mm->free_area_cache. If
>>reaching TASK_SIZE, it does not go back to TASK_UNMAPPED_BASE, just returns
>>-ENOMEM.
>>The attachment is a simple case to trigger it on IA32 machine.
>>
>>The other attachment is the patch to fix it.
>>1) Add a specific hugetlb_get_unmapped_area on i386.
>>2) Generic hugetlb_get_unmapped_area is also fixed.
>>
>>Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.060 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site