On Mon, 2005-08-08 at 09:48 -0700, Christoph Lameter wrote: > Ok. So we cannot set the dirty bit. > > Here is a patch that also prints the pte status immediately before > ptep_cmpxchg. I guess this will show that dirty bit is already set. > > Does the ARM have some hardware capability to set dirty bits? > > + printk(KERN_CRIT "cmpxchg fail fault mm=%p vma=%p addr=%lx write=%d ptep=%p pmd=%p entry=%lx new=%lx current=%lx\n", > + mm, vma, address, write_access, pte, pmd, pte_val(entry), pte_val(new_entry), *pte); Ok, this results in: cmpxchg fail fault mm=c39fc4e0 vma=c2a37bcc addr=4025f000 write=2048 ptep=c2fc197c pmd=c2b91008 entry=88000f7 new=8800077 current=8800077 I'm beginning to understand this code a bit more so I'll see if I can work out anything myself as well... Richard - 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/
- References:
- 2.6.13-rc3-mm3
- From: Andrew Morton <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Richard Purdie <[email protected]>
- Re: 2.6.13-rc3-mm3
- From: Christoph Lameter <[email protected]>
- 2.6.13-rc3-mm3
- Prev by Date: Re: [RFC 1/3] non-resident page tracking
- Next by Date: sparse warnings in initramfs - question?
- Previous by thread: Re: 2.6.13-rc3-mm3
- Next by thread: Re: 2.6.13-rc3-mm3
- Index(es):