1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Porting the Linux "mempool" mechanism to FreeBSD

Discussion in 'FreeBSD Development' started by liuwang, Dec 7, 2011.

  1. liuwang

    liuwang New Member

    Messages:
    31
    Likes Received:
    0
    Any help would be appreciated in porting the following Linux "mempool" mechanism to FreeBSD memory management system.

    Code:
    mempool_t AOC_mempool;
    
    mempool_alloc( ... )
    mempool_free( ... )
    mempool_destroy( ... )
    
    Sincerely,
    Liu
     
  2. trasz@

    trasz@ New Member Developer

    Messages:
    192
    Likes Received:
    0
    You mean kernel or userland? For kernel, you already have memory pools, see uma(9).
     
  3. liuwang

    liuwang New Member

    Messages:
    31
    Likes Received:
    0
    trasz,

    It's kernel.
    Thanks the help.

    Sincerely,
    Liu