[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f74c922b0908112158t78039addh826704ceda5d3199@mail.gmail.com>
Date: Wed, 12 Aug 2009 10:28:33 +0530
From: "B.Vinai Kumar" <vinaibangala2001@...il.com>
To: Jonathan Corbet <corbet@....net>, linux-kernel@...r.kernel.org
Subject: Re: How to get the address of the page structure from the given
virtual address?
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists