I wrote:
> "epicom" wrote:
>
> > I have found several bugs in versions 2.4.0-test*, I don't
> > know if they
> > exist
> > in 2.2.* versions, but it is posible.
>
> The first two (of three) do.
>
> The first one:
> > >> return(((unsigned long)(pte_val(*pte)) & PAGE_MASK) | (address &
> > ~(PAGE
"epicom" wrote:
> I have found several bugs in versions 2.4.0-test*, I don't
> know if they
> exist
> in 2.2.* versions, but it is posible.
The first two (of three) do.
The first one:
> >> return(((unsigned long)(pte_val(*pte)) & PAGE_MASK) | (address &
> ~(PAGE_MASK-1)));
is logically wrong
I have found several bugs in versions 2.4.0-test*, I don't know if they
exist
in 2.2.* versions, but it is posible.
1- file arch/ppc/mm/fault.c, function va_to_phys:
>> return(((unsigned long)(pte_val(*pte)) & PAGE_MASK) | (address &
~(PAGE_MASK-1)));
^
(PAGE_MASK-1) is buggy,