Re: [PATCH v2 0/8] sparc: use asm-generic/dma-mapping-common.h andpci-dma-compat.h

From: Ingo Molnar
Date: Mon Aug 03 2009 - 01:56:41 EST



* David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Joerg Roedel <joerg.roedel@xxxxxxx>
> Date: Tue, 21 Jul 2009 18:05:38 +0200
>
> > Hmm these checks sound specific and hard to maintain. I think
> > its best to give architectures the option whether to enable this
> > check or not.
>
> No matter how the arch works in this area, there should be some
> kind of sanity check.
>
> So, it probably makes sense to allow an arch to override the
> validation function rather than turn the test completely off.

I'm wondering how sparc32 handles core_kernel_text() & friends?

Those functions already assume that the bits between _stext and
_etext are all core kernel text and not generic pages freed back to
the buddy.

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