Re: rmap.c: try_to_unmap_file(): VM_LOCKED not respected

From: William Lee Irwin III
Date: Tue Jun 14 2005 - 01:33:13 EST


On Mon, Jun 13, 2005 at 10:48:13PM -0700, li nux wrote:
> I first use mmap(MAP_LOCKED) and then
> remap_file_pages.
> This should set VM_LOCKED in the vma.

This is very odd. Could you get a backtrace with code addresses resolved
to line numbers?

When you get backtraces, it should show program counters (EIP's on i386,
RIP's on x86-64, other names on others). If you compile with debugging
symbols and keep the vmlinux, you can use addr2line to resolve them to
addresses. Hopefully this is enough for you to go on.

If you can provide this information, it would be very helpful wrt.
resolving your issue.

Thanks.


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