Re: [RFC] [PATCH 1/7] User Space Breakpoint Assistance Layer (UBP)

From: Peter Zijlstra
Date: Mon Jan 18 2010 - 06:45:08 EST


On Mon, 2010-01-18 at 13:01 +0200, Avi Kivity wrote:
>
> You've made it clear that you don't like it, but not why.
>
> The kernel already manages the user's address space (except for
> MAP_FIXED which is unreliable unless you've already reserved the address
> space). I don't see why adding a vma for debugging is so horrible.

Well, the kernel only does what the user (and loader) tell it through
mmap(). Other than that we never (except this VDSO thing) inject vmas,
and I see no reason to start doing that now.

--
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/