[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080217125139.287c880f@laptopd505.fenrus.org>
Date: Sun, 17 Feb 2008 12:51:39 -0800
From: Arjan van de Ven <arjan@...radead.org>
To: Paul Jackson <pj@....com>
Cc: Adrian Bunk <bunk@...nel.org>, tilman@...p.cc, elendil@...net.nl,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org
Subject: Re: Unable to continue testing of 2.6.25
On Sun, 17 Feb 2008 14:38:51 -0600
Paul Jackson <pj@....com> wrote:
> Adrian wrote:
> > So let's fix the problem (kernel lacks functionality)
>
> That's the problem as understood by Adrian.
>
> I hear another problem as well ...
>
> Frans wrote:
> > Please allow external users some decent period for transitioning.
> > The initial plan to "remove the old function in 2.6.27" was
> > entirely sensible. It's a pity it was not followed through.
>
> That seems plain enough to me. It's not just the lack of
> functionality, but that such lack apparently happened with too little
> warning.
>
> If this is a fair representation of what happened, then seems to me
> that we could have left that EXPORT_UNUSED_SYMBOL(change_page_attr)
> in place a bit longer.
>
it's not a fair repersentation. Again.. this export was unkeepable due to the
API being nasty and having to be fixed anyway ;(.
One of the problems was that the c-p-a api has to be followed by a cache flush function call.
Sadly that does a TOTAL flush of the caches of all cpus in the system. As part of the -rc1
changes, it is now done only on the exact pages that need to be flushed (so you no longer
flush 12Mb of caches when you only needed to flush 4Kb), but to achieve that, it was no longer
an option to keep this as 2 separate function calls.
Add to this that some very fundemanteal bugs couldn't be fixed without the function underlying
cpa changing prototype and behavior, so the function had to go.
> Or at least, if we really did have to make Frans life difficult like
> this, we could offer more appreciation for how things might look from
> his perspective.
I understand where he's coming from; at the same time it's a very small change to virtualbox to fix this
and has been done already... in minutes. Frans should take that up with the virtual box support forum, I'm sure
they have the patch available there. (it's mostly removing workarounds for cpa bugs and then just calling set_memory_x / set_memory_nx).
--
If you want to reach me at my work email, use arjan@...ux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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