[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about PG_highmem flag
On 3/3/07, kashif saeed <kashif_linux@xxxxxxxxx> wrote:
hey guys,
I have a question about PG_highmem flag it is present in page-flag.h up till
2.6.11.3 but in 2.6.18 on wards it is not there.
Please comment on this issue
I think PG_highmem flag is removed just because its not needed
(CMIIW), as you can get the pfn from page by using macro " page_to_pfn
" and then from pfn you can easily get whether its of highmemory or
not.
You can also use macro " PageHighMem "
(http://lxr.linux.no/source/include/linux/page-flags.h?v=2.6.18#L159)
for verifying that whether the page is of highmem or lowmem
region/zone
I hope this helps !
--
Fawad Lateef
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ