9c08
![]() |
|
|
|
|
|||||||
| FreeBSD Development Kernel development, writing drivers, coding, and questions regarding FreeBSD internals. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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( ... ) Liu Last edited by DutchDaemon; December 8th, 2011 at 04:07. |
|
#2
|
|||
|
|||
|
You mean kernel or userland? For kernel, you already have memory pools, see uma(9).
Last edited by phoenix; December 8th, 2011 at 19:41. Reason: Add man tag. |
| The Following User Says Thank You to trasz@ For This Useful Post: | ||
liuwang (December 8th, 2011) | ||
|
#3
|
|||
|
|||
|
trasz,
It's kernel. Thanks the help. Sincerely, Liu |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Porting Linux TI_usb_3410_5052 driver | el_report | Porting New Software | 3 | November 1st, 2011 22:30 |
| Porting Linux drivers to Freebsd | viswesh | Porting New Software | 1 | September 16th, 2011 09:19 |
| Porting drivers from Linux to FreeBSD | Meroque | FreeBSD Development | 3 | December 20th, 2010 08:20 |
| Porting Linux IOCTL based applications | kantor | Porting New Software | 8 | May 14th, 2009 07:50 |
| Pre-Porting from linux questions | dcbdbis | General | 6 | February 10th, 2009 07:01 |