summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mmzone_64.h
diff options
context:
space:
mode:
authorMichel Lespinasse <walken@google.com>2010-07-21 00:19:45 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-21 02:41:00 +0200
commita751bd858b16dce57f3b6b85ba07946df1bd7be4 (patch)
tree1bd42b7a014003bbd733056dafec27078fed9e7e /arch/x86/include/asm/mmzone_64.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag... (diff)
downloadlinux-a751bd858b16dce57f3b6b85ba07946df1bd7be4.tar.xz
linux-a751bd858b16dce57f3b6b85ba07946df1bd7be4.zip
x86, rwsem: Stay on fast path when count > 0 in __up_write()
When count > 0 there is no need to take the call_rwsem_wake path. If we did take that path, it would just return without doing anything due to the active count not being zero. Signed-off-by: Michel Lespinasse <walken@google.com> LKML-Reference: <201007202219.o6KMJj9x021042@imap1.linux-foundation.org> Acked-by: David Howells <dhowells@redhat.com> Cc: Mike Waychison <mikew@google.com> Cc: Suleiman Souhlal <suleiman@google.com> Cc: Ying Han <yinghan@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/mmzone_64.h')
0 files changed, 0 insertions, 0 deletions