Revision 598af051a79d05b751fe793f1fe09fcf74763e02 authored by Roland McGrath on 10 April 2008, 22:38:45 UTC, committed by Linus Torvalds on 11 April 2008, 00:28:26 UTC
Use asmlinkage_protect in sys_io_getevents, because GCC for i386 with CONFIG_FRAME_POINTER=n can decide to clobber an argument word on the stack, i.e. the user struct pt_regs. Here the problem is not a tail call, but just the compiler's use of the stack when it inlines and optimizes the body of the called function. This seems to avoid it. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 54a0151
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.0 KB |
Kconfig.iosched | -rw-r--r-- | 1.9 KB |
Makefile | -rw-r--r-- | 530 bytes |
as-iosched.c | -rw-r--r-- | 38.1 KB |
blk-barrier.c | -rw-r--r-- | 7.7 KB |
blk-core.c | -rw-r--r-- | 53.8 KB |
blk-exec.c | -rw-r--r-- | 2.6 KB |
blk-ioc.c | -rw-r--r-- | 4.0 KB |
blk-map.c | -rw-r--r-- | 7.1 KB |
blk-merge.c | -rw-r--r-- | 12.1 KB |
blk-settings.c | -rw-r--r-- | 13.2 KB |
blk-sysfs.c | -rw-r--r-- | 7.6 KB |
blk-tag.c | -rw-r--r-- | 9.5 KB |
blk.h | -rw-r--r-- | 1.7 KB |
blktrace.c | -rw-r--r-- | 11.4 KB |
bsg.c | -rw-r--r-- | 22.4 KB |
cfq-iosched.c | -rw-r--r-- | 53.9 KB |
compat_ioctl.c | -rw-r--r-- | 22.0 KB |
deadline-iosched.c | -rw-r--r-- | 11.5 KB |
elevator.c | -rw-r--r-- | 25.9 KB |
genhd.c | -rw-r--r-- | 17.8 KB |
ioctl.c | -rw-r--r-- | 7.0 KB |
noop-iosched.c | -rw-r--r-- | 2.6 KB |
scsi_ioctl.c | -rw-r--r-- | 16.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...