User Space API handling of large buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

While creating user space API for Linux Crypto, I have a problem with
large buffer. I am look for suggestion as to how to handle large user
buffer greater than PAGE_SIZE. In the event, call issues an operation
with data larger than PAGE_SIZE, must I create an array of page size
scatterlist? Or can I using just one scatterlist entry? 

Would Linux allocates non-continuous memory but use TLB to make them
look continous when calling kmalloc?

-Loc
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux