Skip to contentSkip to conversation

TAKE 960867 - Remove useless wmb() from vfs_sync_worker()

DISCUSSION David Chinner 1 participant 1 message Feb 6, 2007

lore
Share & tools
lore
#0 lore raw

Remove useless memory barrier

wake_up's implementation does an implicit memory barrier so the explicit memory barrier is not needed in vfs_sync_worker.

Patch provided by Ralf Baechle.

Date:  Tue Feb  6 17:57:03 AEDT 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  dgc,[email protected]

The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb

Modid: xfs-linux-melb:xfs-kern:28032a fs/xfs/linux-2.6/xfs_super.c - 1.377 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_super.c.diff?r1=text&tr1=1.377&r2=text&tr2=1.376&f=h
- wake_up() provides a memory barrier so we don't need an explicit one in vfs_sync_worker.