kernel - Revert part of the contig allocation work
commitfe63a898ce35baf4472195f54a0c8ab544635292
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 10 Dec 2017 22:09:03 +0000 (10 14:09 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 10 Dec 2017 22:09:03 +0000 (10 14:09 -0800)
tree57fa3cd5d7285e1c8d37147b24bab6bcf7ac9d2a
parent538e54d54d6acd2fcc448abb9bf90924fa2023fe
kernel - Revert part of the contig allocation work

* Revert part of the contig allocation work.  Always use the alist
  allocation from the DMA reserve first, and revert to scanning the
  VM page list only if it fails.

* Fixes performance problems with X.

* What this means, generally, is that we will probably need to rely
  directly on the dma reserve for most of our DMA allocation and
  freeing just to ensure reasonable performance.  Scanning page
  lists is a big lose.

Reported-by: mneumann
sys/vm/vm_contig.c
sys/vm/vm_page.c