[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060927.185541.02300409.davem@davemloft.net>
Date: Wed, 27 Sep 2006 18:55:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: suresh.b.siddha@...el.com
Cc: akpm@...l.org, hugh@...itas.com, linux-kernel@...r.kernel.org,
asit.k.mallick@...el.com
Subject: Re: [patch] mm: fix a race condition under SMC + COW
From: "Siddha, Suresh B" <suresh.b.siddha@...el.com>
Date: Wed, 27 Sep 2006 17:23:55 -0700
> I am flushing the pte entry in ptep_clear_flush() and it is Ok not
> to do another TLB flush after doing set_pte_at().
>
> On Sparc64, this new set_pte_at() (after ptep_clear_flush) will not batch
> any TLB flush as the previous pte contents were zero.
>
> We are Ok with this patch, isn't it?
Ok, it seems PowerPC also has the "don't do anything if previous PTE
was zero" logic. So yes, it should be ok.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists