[Top] [All Lists]

Re: ext4dev build failure on mips: "empty_zero_page" undefined

To: Dmitri Vorobiev <>
Subject: Re: ext4dev build failure on mips: "empty_zero_page" undefined
From: Ralf Baechle <>
Date: Tue, 13 May 2008 06:12:52 +0100
Cc: Theodore Tso <>, Martin Michlmayr <>,,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <>
User-agent: Mutt/1.5.17 (2007-11-01)
On Tue, May 13, 2008 at 05:50:29AM +0100, Ralf Baechle wrote:

> > Normally I push my patches via the mips tree, and now I'm Cc:ing Ralf for 
> > that.
> > 
> > Hopefully Ralf will react quickly. :)
> I prefer to do it myself so I can apply it at the same time to the MIPS
> -stable branches.
> I'm a little irriated that this thread seems to be only about
> empty_zero_page but apparently not zero_page_mask?  empty_zero_page is
> actualy an array of pages on MIPS and ZERO_PAGE() will pick the right one
> for a particular user space mapping based on the virtual address but
> ZERO_PAGE() also references zero_page_mask.  So I sense more brokenness
> here.

The ZERO_PAGE(0) call in ext4_ext_zeroout is the culprit.  Using a zero
argument allows the compiler to eleminate the reference to zero_page_mask.

Am I reading this right that ZERO_PAGE() is being used without any
mappings to userspace being involved?


<Prev in Thread] Current Thread [Next in Thread>