Messages in this thread | | | Subject | Re: Cache incoherencies | Date | Fri, 27 Aug 1999 20:20:18 +0200 (MEST) | From | (Rogier Wolff) |
| |
Russell King wrote: > > Currently (IIRC) there is a big macro instantiated twice to handle DMA > > or non-DMA memory. If we generalize this to handle many lists of free > > pages, we'll move to just one instantiation of "grab a block from a > > list". This is likely to have a smaller cache-footprint leading to a > > performance improvement. > > Unless my sight is failing, grep and less only indicate that the > macro is instantiated only once to handle the memory allocation.
Yep, I was wrong. It is no longer instantiated twice. It now does a linear search for a DMA-able page. Brilliant. I bet you it doesn't make a difference in a lot of cases.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* ------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------
- 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/
| |