Re: invalid address for sound DMA-buffer

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 20 Oct 1999 17:13:30 +0100 (BST)


> > because a broken ISA DMA allocator in the kernel is likely to cause
> > memory and potentially disk corruption with some old ISA controllers.
>
> exactly how are memory allocators supposed to take care of ISA DMA issues
> in 2.3? Manfred already suggested that the new mm/bootmem.c allocator
> should first try to allocate >16M addresses.

GFP_DMA allocations should return memory under 16Mb or NULL. Nothing has
changed there. The sound code checks the virtual address however and not
physical so if the simple page mapping rule no longer applies the check
will backfire (as will a lot of others). That - if its the problem is
easily fixable

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/