Re: Remapping pages mapped to userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    Bryan> Why would you not want accesses to explode?  Exploding
    Bryan> seems like the right behaviour to me, since there's no
    Bryan> hardware for userspace to talk to any more.

Oh yeah... but getting rid of the mapping so userspace gets a segfault
might be a good idea too.  However, leaving the old PCI mapping there
seems rather risky to me: I think it's entirely possible that accesses
to that area after the device is gone could trigger machine checks or
worse.

So what's the right way for a driver to get rid of a remap_pfn_range()
mapping into userspace?

 - R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux