Messages in this thread | | | Date | Mon, 3 Aug 2009 07:56:08 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH v2 0/8] sparc: use asm-generic/dma-mapping-common.h and pci-dma-compat.h |
| |
* David Miller <davem@davemloft.net> wrote:
> From: Joerg Roedel <joerg.roedel@amd.com> > 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
| |