Some kernels have a bug where the test of the faulting offset against
i_size is misplaced. This has two bad consequences:
- if there is a fault on an address past the end of file, and
the pool of hugepages is also exhausted, we can get an OOM, SIGKILLing
the process, instead of the SIGBUS
A misconversion of hugetlb_vmtruncate_list to a prio_tree has meant
that on 32-bit machines, certain combinations of mapping and
truncations can truncate incorrect pages, or overwrite pmds from other
VMAs, triggering BUG_ON()s or other wierdness.
Hugh Dickins has submitted a kernel patch to fix th
Here are a pair of patches adding extra testcases for some of the
kernel bugs recently found by Hugh Dickins. These patches went to the
linux-mm list and some other people, but haven't made it to this list
yet, and appear to have dropped by the wayside.
As extra testcase patches, these should bot
On 02.11.2006 [11:52:41 +1100], David Gibson wrote:
> On Tue, Oct 31, 2006 at 07:26:12AM -0800, Nishanth Aravamudan wrote:
> > On 31.10.2006 [13:18:18 +1100], David Gibson wrote:
> > > On Mon, Oct 30, 2006 at 04:01:54PM -0800, Nishanth Aravamudan wrote:
> > > > On 31.10.2006 [10:26:47 +1100], David