Re: 2.6.23 regression: accessing invalid mmap'ed memory from gdb causes unkillable spinning

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Duane Griffin <duaneg@...>, linux-kernel Mailing List <linux-kernel@...>, <stable@...>, Hugh Dickins <hugh@...>
Date: Thursday, November 1, 2007 - 7:56 pm

On Thu, Nov 01, 2007 at 09:08:45AM -0700, Linus Torvalds wrote:

But we do want to allow forced COW faults for MAP_PRIVATE mappings. gdb
uses this for inserting breakpoints (but fortunately, a COW page in a
MAP_PRIVATE mapping is a much more natural thing for the VM).


 
I think you're right -- VM_MAYSHARE is basically testing for MAP_SHARED.
I just don't know exactly what you're proposing here.

Thanks,
Nick
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.23 regression: accessing invalid mmap'ed memory from..., Nick Piggin, (Thu Nov 1, 7:56 pm)