Re: mmaping a kernel buffer to user space



On Tue, Oct 31, 2006 at 05:00:59PM +0100, Jiri Slaby wrote:
Piece of code please. pci_alloc_consistent calls __get_free_pages, and there
should be no problem with mmaping this area.

That is an implementation detail which is not portable to other
architectures. Please don't encourage people to use non-portable
implementation details.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/



Relevant Pages

  • Re: [PATCH] cleanup ptrace stops and remove notify_parent
    ... and it looks like only some architectures got this recent change: ... is an implementation detail specific to i386 and x86_64. ... This i386/x86_64 code path can now be entered for the single-step case, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: mmaping a kernel buffer to user space
    ... Russell King wrote: ... should be no problem with mmaping this area. ... That is an implementation detail which is not portable to other ... architectures. ...
    (Linux-Kernel)