.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "CALL_PERNODE_MEMORY" "9" "09 October 2005" "" ""
.SH NAME
call_pernode_memory \- use SRAT to call callback functions with node info
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void call_pernode_memory (unsigned long \fIstart\fB, unsigned long \fIlen\fB, void * \fIarg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIstart\fB\fR
physical start of range
.TP
\fB\fIlen\fB\fR
length of range
.TP
\fB\fIarg\fB\fR
function to call for each range
.SH "DESCRIPTION"
.PP
\fBefi_memmap_walk\fR knows nothing about layout of memory across nodes. Find
out to which node a block of memory belongs. Ignore memory that we cannot
identify, and split blocks that run across multiple nodes.
.PP
Take this opportunity to round the start address up and the end address
down to page boundaries.