summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-03-02 15:25:47 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2013-03-07 14:27:13 +1100
commit29f42a9b94549f8b091b07ccc6222b87ea6f755a (patch)
treec196590dc62e6745f48362738db951c99e480bec /fs
parentbde5fe4f445447382cf08a1a010f35d285b49534 (diff)
aio-give-shared-kioctx-fields-their-own-cachelines-fix
make reqs_active __cacheline_aligned_in_smp Cc: Kent Overstreet <koverstreet@google.com> Cc: Zach Brown <zab@redhat.com> Cc: Felipe Balbi <balbi@ti.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Jens Axboe <axboe@kernel.dk> Cc: Asai Thambi S P <asamymuthupa@micron.com> Cc: Selvan Mani <smani@micron.com> Cc: Sam Bradshaw <sbradshaw@micron.com> Cc: Jeff Moyer <jmoyer@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Benjamin LaHaise <bcrl@kvack.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/aio.c b/fs/aio.c
index bcd667bdd5c2..6b148c948a43 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -83,7 +83,7 @@ struct kioctx {
struct {
atomic_t reqs_active;
- } ____cacheline_aligned;
+ } ____cacheline_aligned_in_smp;
struct {
spinlock_t ctx_lock;