Re: [PATCH] mm: add resched points to remap_pmd_range/ioremap_pmd_range

From: Jörn Engel
Date: Mon Jul 27 2015 - 11:18:22 EST


On Mon, Jul 27, 2015 at 09:08:42AM +0200, Michal Hocko wrote:
> On Fri 24-07-15 09:56:27, JÃrn Engel wrote:
> > On Fri, Jul 24, 2015 at 09:04:21AM +0200, Michal Hocko wrote:
> > > On Thu 23-07-15 14:54:33, Spencer Baugh wrote:
> > > > From: Joern Engel <joern@xxxxxxxxx>
> > > >
> > > > Mapping large memory spaces can be slow and prevent high-priority
> > > > realtime threads from preempting lower-priority threads for a long time.
> > >
> > > How can a lower priority task block the high priority one? Do you have
> > > preemption disabled?
> >
> > Yes.

We have kernel preemption disabled. A lower-priority task in a system
call will block higher-priority tasks.

JÃrn

--
After Iraq, if a PM said there are trees in the rainforest youâd need
to send for proof.
-- Alex Thompson
--
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/