]> git.baikalelectronics.ru Git - kernel.git/commit
x86: mm: fix VM_FAULT_RETRY handling
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Dec 2014 19:52:37 +0000 (11:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Dec 2014 19:52:37 +0000 (11:52 -0800)
commit652b0c28228a0bedc77b59bae632157253b2aa1a
treee66fcbf1d65d1a43b9efde092045890f6aa52487
parentdf7a2e65f06d4af7c6166de16bc021f06bf5bb46
x86: mm: fix VM_FAULT_RETRY handling

My commit 591325452d7c ("x86: mm: consolidate VM_FAULT_RETRY handling")
had a really stupid typo: the FAULT_FLAG_USER bit is in the 'flags'
variable, not the 'fault' variable. Duh,

The one silver lining in this is that Dave finding this at least
confirms that trinity actually triggers this special path easily, in a
way normal use does not.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/fault.c