Re: [PATCH] firewire: fw-core: enforce write order when updating fw_device.generation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefan Richter <stefanr@...>
Cc: <linux1394-devel@...>, <linux-kernel@...>, Kristian <krh@...>
Date: Wednesday, October 31, 2007 - 11:53 pm

On Thursday 01 November 2007 12:49, Stefan Richter wrote:

Hi, a few points:

- can change it to use spinlocks instead? This would be most
  preferable.

- if not, you need comments.

- you also seem to be missing rmb()s now. I see a couple in the
  firewire directory, but nothing that seems to be ordering loads
  of these particular fields.

- use smp_*mb() if you are just ordering regular cacheable RAM
  accesses.

Also, diffstat is a bit wrong... maybe you posted the wrong version?

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] firewire: fw-core: enforce write order when upda..., Nick Piggin, (Wed Oct 31, 11:53 pm)