lkml.org 
[lkml]   [2009]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 12 Aug 2009 10:28:33 +0530
SubjectRe: How to get the address of the page structure from the given virtual address?
From"B.Vinai Kumar" <>
Hi Jon,

Thanks for your response.

I'am writing a kernel socket which calls the tcp_sendpage (modified to
take array of pages) to send the data out
of the kernel socket. I'am allocating 32K of data by calling
alloc_pages and want to send this 32K of data. I modified the
tcp_sendpages to take an array of page structures.

Original version takes pointer to single page structure as an argument.

I will use the above calls to get the address of the page structure
and let you know.

Thanks
Vinai.


\
 
 \ /
  Last update: 2009-08-12 07:01    [from the cache]
©2003-2010