From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin J. Bligh" Date: Mon, 13 Dec 2004 22:16:19 +0000 Subject: Re: Anticipatory prefaulting in the page fault handler V1 Message-Id: <8880000.1102976179@flay> List-Id: References: <156610000.1102546207@flay> <200412132330.23893.amgta@yacht.ocn.ne.jp> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoph Lameter , Akinobu Mita Cc: nickpiggin@yahoo.com.au, Jeff Garzik , torvalds@osdl.org, hugh@veritas.com, benh@kernel.crashing.org, linux-mm@kvack.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org >> I also encountered processes segfault. >> Below patch fix several problems. >> >> 1) if no pages could allocated, returns VM_FAULT_OOM >> 2) fix duplicated pte_offset_map() call > > I also saw these two issues and I think I dealt with them in a forthcoming > patch. > >> 3) don't set_pte() for the entry which already have been set > > Not sure how this could have happened in the patch. > > Could you try my updated version: Urgle. There was a fix from Hugh too ... any chance you could just stick a whole new patch somewhere? I'm too idle/stupid to work it out ;-) M.