we should fix the inconsistent use then, the problem ist malloc(9)
does not return page aligned memory as kmem does now, for allocations
>= PAGE_SIZE and that break drm mmap

where does the diagnostic panic occur?

lars

On Sun, Jan 29, 2012 at 12:49 PM, Matthias Drochner <droch...@netbsd.org> wrote:
> Module Name:    src
> Committed By:   drochner
> Date:           Sun Jan 29 11:49:02 UTC 2012
>
> Modified Files:
>        src/sys/external/bsd/drm/dist/bsd-core: drm_bufs.c
>
> Log Message:
> remove incomplete conversion to kmem_alloc -- inconsistent use
> leads at least to diagnostic panics
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/drm/dist/bsd-core/drm_bufs.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>

Reply via email to