Only on stuff returned from kmalloc() and get_free_page(), not for
stuff returned from vmalloc() or ioremap(). The first two return
addresses from the contiguous mapping of main RAM. The latter two
return random virtual addresses.
> So presumably the other option is to allocate kernel memory and then
> pass a pointer to it back to user space. Is that possible?
That's called mmap().
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/