lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f74c922b0908110731ifcf162ai8770f07d7ca537d3@mail.gmail.com>
Date:	Tue, 11 Aug 2009 20:01:41 +0530
From:	"B.Vinai Kumar" <vinaibangala2001@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: How to get the address of the page structure from the given virtual 
	address?

Hi List

1) I allocated 8 pages using alloc_pages(GFP_KERNEL, 3). This function
returns the pointer to the first page's page structure.
How can I get the page structure address of the remaining 7 pages?

2) There is a function page_address() which takes the page structure
as an argument and returns the virtual address of the page
 that is pointed by that page structure. Is there any method which
retrives the address of the page structure?

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ