diff options
author | des <des@FreeBSD.org> | 2001-01-21 22:23:11 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-01-21 22:23:11 +0000 |
commit | b3c27aaaf71f80f39e0bc2196f9a32b99656179f (patch) | |
tree | b72f07724b85554241dfdc306867216a196d0604 /sys/vm/vm_zone.h | |
parent | c26d01c0b9838b42bdfb45af2319827fc2a5cd75 (diff) | |
download | FreeBSD-src-b3c27aaaf71f80f39e0bc2196f9a32b99656179f.zip FreeBSD-src-b3c27aaaf71f80f39e0bc2196f9a32b99656179f.tar.gz |
First step towards an MP-safe zone allocator:
- have zalloc() and zfree() always lock the vm_zone.
- remove zalloci() and zfreei(), which are now redundant.
Reviewed by: bmilekic, jasone
Diffstat (limited to 'sys/vm/vm_zone.h')
-rw-r--r-- | sys/vm/vm_zone.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/vm_zone.h b/sys/vm/vm_zone.h index 2b21586..359f729 100644 --- a/sys/vm/vm_zone.h +++ b/sys/vm/vm_zone.h @@ -51,10 +51,7 @@ int zinitna __P((vm_zone_t z, struct vm_object *obj, char *name, int size, int nentries, int flags, int zalloc)); void * zalloc __P((vm_zone_t z)); void zfree __P((vm_zone_t z, void *item)); -void * zalloci __P((vm_zone_t z)); -void zfreei __P((vm_zone_t z, void *item)); void zbootinit __P((vm_zone_t z, char *name, int size, void *item, int nitems)); -void * _zget __P((vm_zone_t z)); #endif /* _SYS_ZONE_H */ |