lkml.org 
[lkml]   [2006]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Hugetlb demotion for x86
From
Date
On Wed, 2006-05-10 at 16:42 -0700, Christoph Lameter wrote:
> Seems that the code is not modifying x86 code but all code.

Right. It's definitely broken in that regard. I sent it out in this
condition so the patch was small, easy to review, and my approach would
be easy to see.

> An app should be getting an out of memory error and not a SIGBUS when
> running out of memory.
>
> I thought we fixed the SIGBUS problems and were now reporting out of
> memory? If there still is an issue then we better fix out of memory
> handling. Provide a way for the app to trap OOM conditions?

Yes, the SIGBUS issues are "fixed". Now the application is killed
directly via VM_FAULT_OOM so it is not possible to handle the fault from
userspace. For my libhugetlbfs-based fallback approach, I needed to
patch the kernel so that SIGBUS was delivered to the process like in the
days of old.

--
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-11 18:13    [W:0.288 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site