[Top] [All Lists]

Re: [PATCH 1/1] mips: fault.c: Port OOM changes to do_page_fault

To: Ralf Baechle <>, Ingo Molnar <>, Peter Zijlstra <>
Subject: Re: [PATCH 1/1] mips: fault.c: Port OOM changes to do_page_fault
From: Kautuk Consul <>
Date: Fri, 23 Dec 2011 17:12:38 +0530
Cc:,, "Mohd. Faris" <>, Kautuk Consul <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4ebwNC43TGzaymbTqLzk5uhjJHk+5oAff1jcTfe+JRc=; b=phr83DMk1qYm1QFzEcQEJcz0jk8cL2tS/bVROPS1vz6i/fRz/V7sReuUQ/8d8MMgSN gMnM/HRnZuGNQrWlKm0k+tM0DebAMuPuFn6eORt1hgZ1MRO58x8tLJwoJ8CMKk920DWP Vbqwb+1BRCDzs37XRUNZl5Y9qAaP7rWBe2BaY=
In-reply-to: <>
References: <>
> Without these changes, my MIPS board encounters many hang and livelock
> scenarios.
> After applying this patch, OOM feature performance improves according to
> my testing.

Just to clarify the hang scenario I am talking about, the test case I
used to reproduce
this problem is attached to this email.
Running this a few times hangs my console and then even Ctrl-C signals
do not get handled
and I also do not get back the command prompt.

After applying this patch things seem to improve, but there are still
some hangs which I
encounter which I am further trying to debug.

However, since the generic part of the kernel(mm/filemap.c) now
supports killable and
retryable page fault handling, I thought that this change would be
valid for MIPS too.

Attachment: stress_32k.c
Description: Text Data

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