Linux-kernel mailing list archive 1999-34,: Re: Cache incoherencies

# Re: Cache incoherencies

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 27 Aug 1999 14:58:10 +0100 (BST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Rogier Wolff: "Re: Cache incoherencies"
- Previous message: Alan Cox: "Re: 2.2.12: kmalloc: Size (4294959124) too large"
- In reply to: Benjamin Herrenschmidt: "Re: Cache incoherencies"
- Next in thread: Alan Cox: "Re: Cache incoherencies"

> vmalloc implementation is a lot simpler, I just did it based on Russel's
> patches, and it's plenty enough for what we need (I don't think a driver
> will ever need more than one page uncached anyway). I added a definition
> for PAGE_UNCACHED. I currently use a #ifdef PAGE_UNCACHED to export or
> not vmalloc_uncached from vmalloc.c, but this is a temporary solution so
> I can make sure my eth. driver works.

The other advantage of vmalloc based stuff is it covers things like MIPS boxes
with fixed area partitioning because I can force the return to do stuff like

x=_KSEG_UNCACHED|vmalloc(size)

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/

- Next message: Rogier Wolff: "Re: Cache incoherencies"
- Previous message: Alan Cox: "Re: 2.2.12: kmalloc: Size (4294959124) too large"
- In reply to: Benjamin Herrenschmidt: "Re: Cache incoherencies"
- Next in thread: Alan Cox: "Re: Cache incoherencies"