Query: alloc_contig_range
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ALLOC_CONTIG_RANGE(9) Memory Management in Linux ALLOC_CONTIG_RANGE(9)NAMEalloc_contig_range - - tries to allocate given range of pagesSYNOPSISint alloc_contig_range(unsigned long start, unsigned long end, unsigned migratetype);ARGUMENTSstart start PFN to allocate end one-past-the-last PFN to allocate migratetype migratetype of the underlaying pageblocks (either #MIGRATE_MOVABLE or #MIGRATE_CMA). All pageblocks in range must have the same migratetype and it must be either of the two.DESCRIPTIONThe PFN range does not have to be pageblock or MAX_ORDER_NR_PAGES aligned, however it's the caller's responsibility to guarantee that we are the only thread that changes migrate type of pageblocks the pages fall in. The PFN range must belong to a single zone. Returns zero on success or negative error code. On success all pages which PFN is in [start, end) are allocated for the caller and need to be freed with free_contig_range.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ALLOC_CONTIG_RANGE(9)
Related Man Pages |
---|
i386_get_ioperm(2) - debian |
globus_rls_client_status(3) - debian |
vop_advise(9) - freebsd |
vm_map_clean(9) - linux |
i386_get_ioperm(2) - netbsd |
Similar Topics in the Unix Linux Community |
---|
How to increment version inside a file? |
DB2 convert digits to binary format |
CentOS7 restoring file capabilities |
Docker learning Phase-I |
[TIP] Processing YAML files with yq |