[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFz1zNWjmOJpJu1pET0U5F5fufBiOkm6ESaVAZkiqwKh4g@mail.gmail.com>
Date: Thu, 3 May 2012 14:01:57 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Jana Saout <jana@...ut.de>
Cc: "H. Peter Anvin" <hpa@...or.com>,
Al Viro <viro@...iv.linux.org.uk>,
Nick Piggin <npiggin@...il.com>,
Joel Becker <jlbec@...lplan.org>, linux-kernel@...r.kernel.org
Subject: Re: Oops with DCACHE_WORD_ACCESS and ocfs2, autofs4
On Thu, May 3, 2012 at 1:30 PM, Jana Saout <jana@...ut.de> wrote:
>
> Instead, now I got an oops on __d_lookup (fs/dcache.c line 155) (kernel
> log excerpt below):
Heh, forgot about that one.
Trivial enough to fix. And I'll just make both of them use the
unaligned load helper function, even if technically I think only the
'ct 'access needs it.
This is just the incremental diff. The "real meat" of the change is
just making it use the helper function instead of the "direct
dereference through a unsigned long pointer cast", but the patch is
bigger than that because I decided to split the whole function up so
that we could do the nicer #include. setup. And because I shouldn't
have done it with an #ifdef inside a function to begin with.
Anyway, the fact that you can trigger these things so quickly
certainly is a good sign that your setup is good at finding it. It
could have been worse. Hopefully I now actually caught all users.
Linus
Download attachment "dentry_cmp.diff" of type "application/octet-stream" (1903 bytes)
Powered by blists - more mailing lists