> Is this in any way x86 specific? AFAICT this should work in generic code > as long as data->addr is provided.
It won't work on architectures that split the address space for user/kernel (if TASK_SIZE is meaningless). But perhaps some generic config for that would work. -Andi

