* Size of mem_map array?
@ 2000-06-08 17:17 Timur Tabi
2000-06-08 17:40 ` Neil Schemenauer
0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2000-06-08 17:17 UTC (permalink / raw)
To: Linux MM mailing list
I want to write a driver that traverses the mem_map array so that I can better
understand the VM manager. However, I can't seem to figure out how big mem_map
is. In fact, based on what I've seen, I'm beginning to suspect that mem_map is
not one, contiguous array. I've scoured the 2.3 kernel source code, but I can't
find anything. Please help!
--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Size of mem_map array?
2000-06-08 17:17 Size of mem_map array? Timur Tabi
@ 2000-06-08 17:40 ` Neil Schemenauer
0 siblings, 0 replies; 2+ messages in thread
From: Neil Schemenauer @ 2000-06-08 17:40 UTC (permalink / raw)
To: Timur Tabi; +Cc: Linux MM mailing list
On Thu, Jun 08, 2000 at 12:17:17PM -0500, Timur Tabi wrote:
> I've scoured the 2.3 kernel source code, but can't find
> Ianything.
The length of the array is max_mapnr. The size of the elements
are sizeof(struct page).
Neil
--
python -c "f=lambda n:n and f(n/128)+chr(n%128) or '';print f(0x13b2\
e9d8829e3d1976e5dd87ae5e481e6ec3cf1e8cbb72c0eb8f0eccf879795d8f0bel)"
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-06-08 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-08 17:17 Size of mem_map array? Timur Tabi
2000-06-08 17:40 ` Neil Schemenauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox