[lkml]   [2003]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 4GB+DEBUG_PAGEALLOC oopses with 2.6.0-test3-mm1
Ingo Molnar wrote:

>(in theory it's possible that kernel-internal mounts pass in a pointer
>where pointer + PAGE_SIZE is not a valid kernel address - if this happens
>then we'd get a hard crash.)
Exactly that happens.
I'm running with CONFIG_PAGE_DEBUG, i.e. unallocated pages are marked as
non-present in the linear mapping.

Regarding the i386 trap handler: show_registers tries to hexdump the
current instructions. It did a __get_user, to avoid causing a fault when
%eip is invalid.
Now it contains:

> if ((user_mode(regs) && get_user(c, eip)) ||
> (!user_mode(regs) && __direct_get_user(c, eip))) {
> printk(" Bad EIP value.");
> break;
> }

I.e. it's already fixed.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.082 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site