[PATCH 1/1] [PPC] 8xx swap bug-fix

Yuri Tikhonov yur at emcraft.com
Tue Feb 5 17:46:21 EST 2008


 Hi Scott,

 You are right. The TLB handlers for 8xx in arch/powerpc branch set the 
PAGE_ACCESSED flag unconditionally too. And the 
include/asm-powerpc/pgtable-ppc32.h file still includes the comment that this 
is the bug. So, probably the corresponding patch for powerpc branch will be 
usefull. Does anybody use swap with some of the 8xx-based boards supported in 
powerpc branch ?

 Regards, Yuri

On Monday 04 February 2008 21:24, Scott Wood wrote:
> On Sat, Feb 02, 2008 at 12:22:17PM +0100, Jochen Friedrich wrote:
> > Hi Yuri,
> > 
> > >  Here is the patch which makes Linux-2.6 swap routines operate correctly 
on
> > > the ppc-8xx-based machines.
> > 
> > is there any 8xx board left which isn't ported to ARCH=powerpc?
> 
> More importantly, is this something that is also broken in arch/powerpc?  It
> looks like it has the same code...
> 
> -Scott
> 

-- 
Yuri Tikhonov, Senior Software Engineer
Emcraft Systems, www.emcraft.com



More information about the Linuxppc-dev mailing list