Re: mmaping a kernel buffer to user space



Russell King wrote:
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.

Sorry, I stand corrected, thanks,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
-
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
    ... should be no problem with mmaping this area. ... That is an implementation detail which is not portable to other ... architectures. ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)