using arrays from user space

Hello all,
this is my very first message in this list, and I'm very, very newbie on
linux kernel programming, I have a doubt, I need to modify a module to
pass a great size array (about 600KB) in user space to kernel use-it, I
think add more one IOCTL in his ioctl control of controled device
passing the pointer as argument but I don't want to copy this array
using copy_from_user() to kernel space because the size is too large,
there's some way to convert the user-space array address to kernel-space
address to use directly the original array ?


Thanks for all help

Flavio Alberto Lopes Soares
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Flavio Alberto Lopes [ Fr, 08 Februar 2008 04:06 ] [ ID #1923170 ]
Linux » gmane.linux.newbie » using arrays from user space

Vorheriges Thema: Use of IRQF_DISABLED along with IRQF_SHARED
Nächstes Thema: Location of syscall wrappers