linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Need some help in understanding sparsemem.
@ 2010-07-06  5:11 naren.mehra
  2010-07-06  6:07 ` KAMEZAWA Hiroyuki
  2010-07-06  7:36 ` Minchan Kim
  0 siblings, 2 replies; 8+ messages in thread
From: naren.mehra @ 2010-07-06  5:11 UTC (permalink / raw)
  To: linux-mm

Hi,

I am trying to understand the sparsemem implementation in linux for
NUMA/multiple node systems.

>From the available documentation and the sparsemem patches, I am able
to make out that sparsemem divides memory into different sections and
if the whole section contains a hole then its marked as invalid
section and if some pages in a section form a hole then those pages
are marked reserved. My issue is that this classification, I am not
able to map it to the code.

e.g. from arch specific code, we call memory_present()  to prepare a
list of sections in a particular node. but unable to find where
exactly some sections are marked invalid because they contain a hole.

Can somebody tell me where in the code are we identifying sections as
invalid and where we are marking pages as reserved.

Pls correct me, if I am wrong in my understanding.
Also, If theres any article or writeup on sparsemem, pls point me to that.

I apologize, if I have posted this mail on the wrong mailing list, in
that case, pls let me know the correct forum to ask this question.

Regards,
Naren

--
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-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-07-09  7:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-06  5:11 Need some help in understanding sparsemem naren.mehra
2010-07-06  6:07 ` KAMEZAWA Hiroyuki
2010-07-06  7:06   ` Minchan Kim
2010-07-06  7:36 ` Minchan Kim
2010-07-06 10:48   ` naren.mehra
2010-07-07  3:49     ` Minchan Kim
2010-07-09  7:05       ` naren.mehra
2010-07-09  7:49         ` KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).