Alexey Dobriyan
dd23aae4f5
Fix select on /proc files without ->poll
...
Taneli Vähäkangas <vahakang@cs.helsinki.fi> reported that commit
786d7e1612f0b0adb6046f19b906609e4fe8b1ba aka "Fix rmmod/read/write races
in /proc entries" broke SBCL + SLIME combo.
The old code in do_select() used DEFAULT_POLLMASK, if couldn't find
->poll handler. The new code makes ->poll always there and returns 0 by
default, which is not correct. Return DEFAULT_POLLMASK instead.
Steps to reproduce:
install emacs, SBCL, SLIME
emacs
M-x slime in *inferior-lisp* buffer
[watch it doing "Connecting to Swank on port X.."]
Please, apply before 2.6.23.
P.S.: why SBCL can't just read(2) /proc/cpuinfo is a mystery.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: T Taneli Vahakangas <vahakang@cs.helsinki.fi>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-09-11 17:21:20 -07:00
..
2007-08-23 10:13:45 -05:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-09-11 17:21:19 -07:00
2007-05-11 08:29:36 -07:00
2007-08-22 19:52:46 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-18 00:15:20 +00:00
2007-07-21 17:49:14 -07:00
2007-07-20 10:11:58 +09:00
2007-05-07 12:12:51 -07:00
2007-07-18 15:49:48 -07:00
2007-05-08 11:14:59 -07:00
2007-08-14 10:31:02 +01:00
2007-08-31 01:42:23 -07:00
2007-07-20 10:11:58 +09:00
2007-07-17 10:23:06 -07:00
2007-07-26 11:35:17 -07:00
2007-09-11 17:21:19 -07:00
2007-09-11 17:21:19 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-14 10:34:40 +01:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-10 08:04:13 +02:00
2007-07-20 10:11:58 +09:00
2007-08-31 01:42:23 -07:00
2007-07-31 15:39:41 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-09-02 18:18:38 +01:00
2007-07-20 10:11:58 +09:00
2007-07-26 11:11:56 -07:00
2007-07-20 10:11:58 +09:00
2007-07-31 15:39:41 -07:00
2007-09-01 10:14:54 -04:00
2007-09-10 18:57:47 -07:00
2007-07-16 09:05:52 -07:00
2007-07-20 10:11:58 +09:00
2007-08-09 17:27:58 -07:00
2007-07-20 10:11:58 +09:00
2007-07-30 00:27:31 -07:00
2007-09-11 17:21:20 -07:00
2007-07-20 10:11:58 +09:00
2007-07-31 15:39:36 -07:00
2007-09-11 17:21:19 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-22 14:35:36 -07:00
2007-07-20 10:11:58 +09:00
2007-08-31 01:42:22 -07:00
2007-07-20 10:11:58 +09:00
2007-09-05 14:51:04 +10:00
2007-05-11 08:29:37 -07:00
2007-07-17 11:50:26 -07:00
2007-07-17 12:00:03 -07:00
2007-07-10 08:04:15 +02:00
2007-07-19 10:04:47 -07:00
2007-07-21 17:49:14 -07:00
2007-05-08 11:15:07 -07:00
2007-06-08 17:23:32 -07:00
2007-07-19 10:04:45 -07:00
2007-07-19 10:04:45 -07:00
2007-07-24 09:28:11 +02:00
2007-07-20 10:11:58 +09:00
2007-07-20 08:44:19 -07:00
2007-07-19 10:04:43 -07:00
2007-08-06 15:06:03 -04:00
2007-07-19 10:04:45 -07:00
2007-07-20 10:11:58 +09:00
2007-07-29 17:09:29 -07:00
2007-08-20 22:50:25 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-16 09:05:36 -07:00
2007-05-18 13:09:34 -07:00
2007-07-20 10:11:58 +09:00
2007-08-22 19:52:47 -07:00
2007-07-20 10:11:58 +09:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:01 -07:00
2007-07-17 12:00:03 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-05-08 11:15:11 -07:00
2007-05-08 11:15:09 -07:00
2007-07-16 09:05:48 -07:00
2007-07-19 15:09:02 -04:00
2007-05-21 14:34:00 +09:00
2007-05-09 06:44:57 +02:00
2007-07-31 15:39:43 -07:00
2007-05-11 08:29:36 -07:00
2007-07-20 10:11:58 +09:00
2007-05-11 08:29:35 -07:00
2007-07-19 10:04:45 -07:00
2007-07-20 10:11:58 +09:00
2007-07-19 10:04:45 -07:00
2007-07-31 15:39:42 -07:00
2007-07-27 08:08:51 +02:00
2007-05-08 11:15:11 -07:00
2007-07-27 15:40:13 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:09 -07:00
2007-09-11 17:21:20 -07:00
2007-07-16 09:05:45 -07:00
2007-08-22 19:52:46 -07:00
2007-07-27 08:08:51 +02:00
2007-05-08 11:15:07 -07:00
2007-07-16 09:05:46 -07:00
2007-06-28 11:38:30 -07:00
2007-07-26 11:35:17 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 12:00:03 -07:00