Date: Mon, 13 Oct 2008 18:03:27 +0000 (UTC) From: Robert Noland <rnoland@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/drm ati_pcigart.c drmP.h drm_agpsupport.c drm_auth.c drm_bufs.c drm_context.c drm_dma.c drm_drv.c drm_fops.c drm_ioctl.c drm_irq.c drm_memory.c drm_pci.c drm_scatter.c drm_sysctl.c i915_drv.c mach64_drv.c mga_drv.c r128_drv.c ... Message-ID: <200810131803.m9DI3i5s049500@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rnoland 2008-10-13 18:03:27 UTC FreeBSD src repository Modified files: sys/dev/drm ati_pcigart.c drmP.h drm_agpsupport.c drm_auth.c drm_bufs.c drm_context.c drm_dma.c drm_drv.c drm_fops.c drm_ioctl.c drm_irq.c drm_memory.c drm_pci.c drm_scatter.c drm_sysctl.c i915_drv.c mach64_drv.c mga_drv.c r128_drv.c radeon_drv.c savage_drv.c sis_drv.c tdfx_drv.c Log: SVN rev 183833 on 2008-10-13 18:03:27Z by rnoland Rework memory allocation to allocate memory with different type names. This will ease the identification of memory leaks as the OS will be able to track allocations for us by malloc type. vmstat -m will show all of the allocations. Convert the calls to drm_alloc() and friends, which are used in shared code to static __inline__ while we are here. Approved by: jhb (mentor) Revision Changes Path 1.7 +6 -5 src/sys/dev/drm/ati_pcigart.c 1.22 +44 -28 src/sys/dev/drm/drmP.h 1.10 +5 -4 src/sys/dev/drm/drm_agpsupport.c 1.5 +2 -2 src/sys/dev/drm/drm_auth.c 1.8 +36 -36 src/sys/dev/drm/drm_bufs.c 1.5 +7 -5 src/sys/dev/drm/drm_context.c 1.5 +7 -7 src/sys/dev/drm/drm_dma.c 1.13 +5 -5 src/sys/dev/drm/drm_drv.c 1.6 +3 -3 src/sys/dev/drm/drm_fops.c 1.5 +5 -5 src/sys/dev/drm/drm_ioctl.c 1.6 +5 -6 src/sys/dev/drm/drm_irq.c 1.5 +19 -30 src/sys/dev/drm/drm_memory.c 1.6 +5 -5 src/sys/dev/drm/drm_pci.c 1.6 +6 -6 src/sys/dev/drm/drm_scatter.c 1.5 +11 -8 src/sys/dev/drm/drm_sysctl.c 1.10 +2 -2 src/sys/dev/drm/i915_drv.c 1.8 +2 -2 src/sys/dev/drm/mach64_drv.c 1.17 +2 -2 src/sys/dev/drm/mga_drv.c 1.16 +2 -2 src/sys/dev/drm/r128_drv.c 1.19 +2 -2 src/sys/dev/drm/radeon_drv.c 1.8 +2 -2 src/sys/dev/drm/savage_drv.c 1.12 +2 -2 src/sys/dev/drm/sis_drv.c 1.15 +2 -2 src/sys/dev/drm/tdfx_drv.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810131803.m9DI3i5s049500>