![]() | |||||||||||||
Messages in this thread |
On Monday September 25, bfields@fieldses.org wrote:
>
> It looks to me like totalram is actually measured in pages. So in
> practice this gives almost everyone 8k here. So that 12 should be
> something like 12 - PAGE_CACHE_SHIFT?
Uhm.... yes. Thanks.
But are the pages that totalram is measure in, normal pages, of
page_cache pages? And is there a difference?
Should we use PAGE_CACHE_SHIFT, or PAGE_SHIFT?
And why do we have both if they are numerically identical?
I'll submit a patch which uses
12 - PAGE_SHIFT
in a little while.
Thanks,
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| ||||||||||||
| Last update: 2006-09-28 04:25 [W:0.495 / U:0.190 seconds] ©2003-2008 Jasper Spaans | |||||||||||||