On Sun, 17 Feb 2008 10:25:30 +0100
Frans Pop <[EMAIL PROTECTED]> wrote:

> Yesterday, after spending quite a few hours over the last days on
> bisecting some serious regressions and finding workarounds for them,
> I thought I could start using 2.6.25-rc2 as the new kernel for my
> desktop. Unfortunately I found that I cannot because it would make my
> other main activity - working on the Debian installation system -
> impossible.
> 
> For my work on the Debian Installer I heavily rely on emulators to
> run test installs and ATM my emulator of choice is VirtualBox (the
> fully open "ose" version). This requires the vboxdrv kernel module,
> but unfortunately: vboxdrv: Unknown symbol change_page_attr
> 
> At first I traced this to:
> e1271f68
>  x86: deprecate change_page_attr() for drivers
>  With the introduction of the new API, no driver or non-archcore code
> needs to use c-p-a anymore, so this patch also deprecates the
> EXPORT_SYMBOL of CPA (it's a horrible API after all).
> which had:
> -EXPORT_SYMBOL(change_page_attr);
> +EXPORT_UNUSED_SYMBOL(change_page_attr); /* to be removed in 2.6.27 */
> 
> Which seemed entirely reasonable but left me wondering about the
> error I got.
> 
> But then I found:
> d1028a15
>  x86: make various pageattr.c functions static
>  change_page_attr_add is only used in pageattr.c now, so we can
>  make this function static.
>  change_page_attr() isn't used anywere at all anymore; this function
>  is a really bad API anyway so just remove the bloat entirely.
> 
> Which removed the entire function (without even properly mentioning
> it in the shortlog).
> 

the initial plan was for a depreciation period. Sadly it was untenable since 
the API
was changing entirely to fix bugs and add a really important feature
(the ability to clflush the exact range rather than wbinvd'ing the caches of 
all cpus in the system), 
at which point we had to pull the function right away.

As for virtualbox; a fix for that already exists, and it consists of removing 
25 lines of workarounds
for c-p-a bugs, and just using set_memory_x / set_memory_nx.



-- 
If you want to reach me at my work email, use [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to