summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorShawn Bohrer <shawn.bohrer@gmail.com>2011-03-23 00:34:47 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 01:44:15 +0100
commitf4d93ad74c18143abd3067ca3c8ffba7d00addf4 (patch)
tree470d7e53e696c9ff2f8e62caabb50e365ac9ca8c /fs/binfmt_elf.c
parentepoll: move ready event check into proper inline (diff)
downloadlinux-f4d93ad74c18143abd3067ca3c8ffba7d00addf4.tar.xz
linux-f4d93ad74c18143abd3067ca3c8ffba7d00addf4.zip
epoll: fix compiler warning and optimize the non-blocking path
Add a comment to ep_poll(), rename labels a bit clearly, fix a warning of unused variable from gcc and optimize the non-blocking path a little. Hinted-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Davide Libenzi <davidel@xmailserver.org> hannes@cmpxchg.org: : The non-blocking ep_poll path optimization introduced skipping over the : return value setup. : : Initialize it properly, my userspace gets upset by epoll_wait() returning : random things. : : In addition, remove the reinitialization at the fetch_events label, the : return value is garuanteed to be zero when execution reaches there. [hannes@cmpxchg.org: fix initialization] Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Shawn Bohrer <shawn.bohrer@gmail.com> Acked-by: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions