linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@linux-mips.org>, Ingo Molnar <mingo@elte.hu>, Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: [PATCH 1/1] mips: fault.c: Port OOM changes to do_page_fault
From: Kautuk Consul <consul.kautuk@gmail.com>
Date: Fri, 23 Dec 2011 17:12:38 +0530
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, "Mohd. Faris" <mohdfarisq2010@gmail.com>, Kautuk Consul <consul.kautuk@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; 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: <1324639362-18220-1-git-send-email-consul.kautuk@gmail.com>
References: <1324639362-18220-1-git-send-email-consul.kautuk@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
>
> 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>