Hello,
Now that IPL_MPFLOOR is available on all platforms we can use it. The
first user is the f_mtx mutex in kern_descrip. Rev 1.160 initialized it
using IPL_VM, we can now use the more appropriate IPL_MPFLOOR value as
already done in the MI mutex implementation for the exact same reason
On 30/05/18(Wed) 10:54, Mathieu - wrote:
> The following patch adds IPL_MPFLOOR to the two last archs missing it,
> namely landisk and armv7. The goal is to be able to use the define in MI
> code (note that it's already used but hidden behind a #ifdef
> MULTIPROCESSOR).
Committ
Hi,
The following patch adds IPL_MPFLOOR to the two last archs missing it,
namely landisk and armv7. The goal is to be able to use the define in MI
code (note that it's already used but hidden behind a #ifdef
MULTIPROCESSOR).
I define it to IPL_NONE because those two archs are
> Date: Sat, 13 Jan 2018 13:04:59 +0100
> From: Martin Pieuchot
>
> Diff below introduces IPL_MPFLOOR for all our archs. It will be used by
> the MI mutex implementation to prevent deadlocks. All interrupt handlers
> established with an ipl > IPL_MPFLOOR must not
Diff below introduces IPL_MPFLOOR for all our archs. It will be used by
the MI mutex implementation to prevent deadlocks. All interrupt handlers
established with an ipl > IPL_MPFLOOR must not grab the KERNEL_LOCK().
This value could also be using in interrupt handlers.
ok?
Index: al