[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48C57FF8.9080802@goop.org>
Date: Mon, 08 Sep 2008 12:41:44 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Ingo Molnar <mingo@...e.hu>
CC: Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
"H. Peter Anvin" <hpa@...or.com>,
Xen Devel <xen-devel@...ts.xensource.com>
Subject: Re: [PATCH 6 of 7] x86: use early_ioremap in __acpi_map_table
Ingo Molnar wrote:
> uhm, there's a nasty trap in that route: it can potentially cause a lot
> of breakage.
>
> It's not robust to assume that the ACPI code is sane wrt.
> mapping/unmapping, because it currently simply doesnt rely on robust
> unmapping (in the linear range).
>
> I tried it in the past and i found tons of crappy ACPI code all around
> that just never unmapped tables. Leaking ACPI maps are hard to find as
> well, and it can occur anytime during bootup.
>
Yes, you're right, it's a mess. I put a unmap and warning in there, but
there's lots of acpi code which doesn't unmap after using its table. It
doesn't seem to intermix using two tables, fortunately, so the "unmap
previous" behaviour of __acpi_map_table works OK, at least as far as I
can see.
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists