[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MPS: profiler
From: |
Gerd Möllmann |
Subject: |
Re: MPS: profiler |
Date: |
Fri, 21 Jun 2024 13:47:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> >> Yes, the SIBPROF handler could at least return early then.
>> >
>> > Perhaps something like this?
>>
>> Not sure. The result of is_busy is only valid at the point in time when
>> it is called.
>
> Are you thinking about what happens when GC is run concurrently?
> Because this is not what happens here, AFAIU. Let's focus on fixing
> the actual issue we see in the backtrace, and consider its possible
> generalizations later.
>
> Are you saying that is_busy could return false in the situation we see
> in the backtrace, i.e. during the entire time MPS processes its
> protection-induced SIGSEGV?
I'm still not sure. What I'm trying to say is that we need to be sure
that there are no windows left in which things can change. I'd be most
comfortable ATM if the first thing the SIGPROF handler does is check
is_busy and immediately returns, doing nothing.
- Re: MPS: profiler, (continued)
- Re: MPS: profiler, Helmut Eller, 2024/06/21
- Re: MPS: profiler, Ihor Radchenko, 2024/06/21
- Re: MPS: profiler, Helmut Eller, 2024/06/21
- Re: MPS: profiler, Gerd Möllmann, 2024/06/21
- Re: MPS: profiler, Helmut Eller, 2024/06/21
- Re: MPS: profiler, Gerd Möllmann, 2024/06/21
- Re: MPS: profiler, Eli Zaretskii, 2024/06/21
- Re: MPS: profiler,
Gerd Möllmann <=
- Re: MPS: profiler, Helmut Eller, 2024/06/21
- Re: MPS: profiler, Ihor Radchenko, 2024/06/21
- Re: MPS: profiler, Helmut Eller, 2024/06/21
- Re: MPS: profiler, Ihor Radchenko, 2024/06/21
- MPS make-thread (was: MPS: profiler), Helmut Eller, 2024/06/21
- Re: MPS make-thread, Gerd Möllmann, 2024/06/21
- Re: MPS make-thread, Gerd Möllmann, 2024/06/21
- Re: MPS make-thread, Helmut Eller, 2024/06/21
- Re: MPS make-thread, Gerd Möllmann, 2024/06/21
- Re: MPS make-thread, Gerd Möllmann, 2024/06/21