Re: [Question] Can we release vma that include code when one processis running?

From: Nick Piggin
Date: Sun Sep 18 2005 - 03:15:22 EST


liyu@WAN wrote:


Sorry, I perhaps didn't said clearly.

As I knwon, if we remove vma from vma tree of task, the SIGSEGV must be got!
but I am not removed them , I just unmapped them. and the SIGSEGV occurs some times,
not alway.

I doublt on it.

Any clearly idea?


No clear ideas, no. Are you doing the proper synchronization and
flushing required when unmapping those regions?

If you can post your unmapping code to lkml, someone might be able
to spot a bug in it.

Thanks,
Nick

--
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com -
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/