Re: Alpha compile problem solved by Andrea (pte_alloc)

Andrea Arcangeli
2001-04-29T23:47:53Z

On Sun, Apr 29, 2001 at 05:27:10PM -0600, Eric W. Biederman wrote:
>
> Do you know if anyone has fixed the lazy vmalloc code? I know of
> as of early 2.4 it was broken on alpha. At the time I noticed it I didn't
> have time to persue it, but before I forget to even put in a bug
> report I thought I'd ask if you know anything about it?

On alpha it's racy if you set CONFIG_ALPHA_LARGE_VMALLOC y (so don't do
that as you don't need it). As long as you use only 1 entry of the pgd
for the whole vmalloc space (CONFIG_ALPHA_LARGE_VMALLOC n) alpha is
safe.

OTOH x86 is racy and there's no workaround available at the moment.

Andrea