Søren Schmidt <[EMAIL PROTECTED]> wrote: > sos 2008-04-17 12:29:36 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-all.c ata-all.h ata-chipset.c > ata-disk.c ata-dma.c ata-lowlevel.c > ata-pci.c ata-queue.c ata-raid.c > atapi-cam.c atapi-cd.c atapi-fd.c > atapi-tape.c > Log: > Go back to preallocating everything possible on init. > This avoids calling busdma in the request processing path which caused > a traumatic performance degradation. Allocation has be postponed to > after we know how many devices we possible can have on portmulitpliers > to save some space.
With this commit, I'm getting a page fault in bus_dmamap_load() reached through ata_dmaload(), right after ad1 is detected: http://www.fabiankeil.de/tmp/freebsd/ata-bus-dmamap-load-page-fault-600x383.jpg http://www.fabiankeil.de/tmp/freebsd/ata-bus-dmamap-load-page-fault-where-600x440.jpg Fabian
signature.asc
Description: PGP signature