lkml.org 
[lkml]   [2007]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/5] x86: another attempt at x86 pagetable unification

* Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> Here's another round of the pagetable unification patches. I've done
> a few dozen rounds of randconfig builds on both 32- and 64-bit, so I
> hope that will prevent compile problems in your test environment.
>
> I've also boot-tested 64-bit and 32-bit PAE/non-PAE configs (both
> paravirt and non-paravirt).

i've done a dozen random tests too and it's looking good so far. Nice
work!

pgtable_32.h and pgtable_64.h still look a tiny bit messy from the
include file dependencies POV. For example pgtable_32.h:

#include <asm/processor.h>
#include <asm/fixmap.h>
#include <linux/threads.h>
#include <asm/paravirt.h>

#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/spinlock.h>

that asm/paravirt.h include is already present in pgtable.h, in a
somewhat quirky way:

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#else /* !CONFIG_PARAVIRT */

also, most of the:

scripts/checkpatch.pl --file include/asm-x86/pgtable*.h

complaints are real ones and should be fixed.

would you be interested in cleaning up that stuff once and forever? It
would be a fine approach if you just tried to quickly push for a "high
quality" end result in a series of patches and sent that series to me,
without having tested it fully through - i can figure out whatever build
breakages and dependencies there still are. So there would be no
expectation of getting such a cleanup series right in the first (or
second, or third) attempt, this is spaghetti code that has been
accumulated up for years. The important thing would be to be careful to
not introduce runtime breakages accidentally - build breakages due to
some include file dependency we can sort out just fine. Hm?

Ingo


\
 
 \ /
  Last update: 2007-12-20 10:53    [W:2.141 / U:0.212 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site