Re: Remapping pages mapped to userspace (was: [PATCH 10 of 20]ipath - support for userspace apps using core driver)
From: Bryan O'Sullivan
Date: Thu Mar 16 2006 - 18:53:36 EST
On Thu, 2006-03-16 at 15:51 -0800, Roland Dreier wrote:
> However, on a hot unplug event, when the underlying PCI device is
> going away, I would like to replace that mapping with a mapping (with
> a mapping to the zero page?), so that userspace accesses after the
> device is gone don't explode.
Why would you not want accesses to explode? Exploding seems like the
right behaviour to me, since there's no hardware for userspace to talk
to any more.
<b
-
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/