lkml.org 
[lkml]   [2009]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-08-03 07:59    [W:0.080 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site