mempool_resize man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

MEMPOOL_RESIZE(9)	  Memory Management in Linux	     MEMPOOL_RESIZE(9)

NAME
       mempool_resize - resize an existing memory pool

SYNOPSIS
       int mempool_resize(mempool_t * pool, int new_min_nr, gfp_t gfp_mask);

ARGUMENTS
       pool
	   pointer to the memory pool which was allocated via mempool_create.

       new_min_nr
	   the new minimum number of elements guaranteed to be allocated for
	   this pool.

       gfp_mask
	   the usual allocation bitmask.

DESCRIPTION
       This function shrinks/grows the pool. In the case of growing, it cannot
       be guaranteed that the pool will be grown to the new size immediately,
       but new mempool_free calls will refill it.

       Note, the caller must guarantee that no mempool_destroy is called while
       this function is running.  mempool_alloc & mempool_free might be called
       (eg. from IRQ contexts) while this function executes.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		     MEMPOOL_RESIZE(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net