Copy data in kernel space

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

 



Hello,

I am working on optimizing the TCP-code for a certain type of TCP-stream,
and to make one of my optimizations work I need to copy data from one SKB
(the data field of the skb) to another SKB (data field).

Currently I am using memcpy, and it does what it is supposed to, but I am
curious as to if there are any other (potentially faster/more efficent)
ways of doing it. I have checked out the skb_add_data (used when you can
copy data from the msg you are sending into the most recent skb added to
the queue), but from what I can understand it only copies from userspace
into kernelspace (whereas I need to copy kernel-kernel).

Does anyone have any hints, suggestions, solutions or something else they
think might help?

Thanks,
Kristian


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux