[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -mm 0/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap
On Tue, 2008-01-15 at 09:44 +0100, Ingo Molnar wrote:
> * Huang, Ying <> wrote:
> > This patchset replaces boot_ioremap with a enhanced version of
> > bt_ioremap and renames the bt_ioremap to early_ioremap. This reduces
> > 12k from segment and increases the size of memory that can
> > be re-mapped before paging_init to 64k.
> in latest x86.git#mm there's an early_ioremap() introduced as part of
> the PAT series - available on both 32-bit and 64-bit. Could you take a
> look at it and use that if it's OK for your purposes?

After checking the early_ioremap() implementation in
arch/x86/kernel/setup_32.c, I found that it is a duplication of
bt_ioremap() implementation in arch/x86/mm/ioremap_32.c. Both
implementations use set_fixmap(), so they can be used only after

The early_ioremap implementation provided in this patchset works as

- Enhances bt_ioremap, make it usable before paging_init() via a
dedicated PTE page.
- Rename bt_ioremap to early_ioremap

So I think maybe we should replace the early_ioremap() implementation in
PAT series with that of this series.

Best Regards,
Huang Ying

 \ /
  Last update: 2008-01-15 10:57    [W:0.113 / U:0.560 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site