Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e78cd95b
Commit
e78cd95b
authored
Feb 01, 2018
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preparation to switching ->poll() to returning EPOLL...
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
65aaf87b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/linux/poll.h
include/linux/poll.h
+2
-1
No files found.
include/linux/poll.h
View file @
e78cd95b
...
...
@@ -11,6 +11,7 @@
#include <linux/sysctl.h>
#include <linux/uaccess.h>
#include <uapi/linux/poll.h>
#include <uapi/linux/eventpoll.h>
extern
struct
ctl_table
epoll_table
[];
/* for sysctl */
/* ~832 bytes of stack space used max in sys_select/sys_poll before allocating
...
...
@@ -22,7 +23,7 @@ extern struct ctl_table epoll_table[]; /* for sysctl */
#define WQUEUES_STACK_ALLOC (MAX_STACK_ALLOC - FRONTEND_STACK_ALLOC)
#define N_INLINE_POLL_ENTRIES (WQUEUES_STACK_ALLOC / sizeof(struct poll_table_entry))
#define DEFAULT_POLLMASK (
POLLIN | POLLOUT | POLLRDNORM |
POLLWRNORM)
#define DEFAULT_POLLMASK (
EPOLLIN | EPOLLOUT | EPOLLRDNORM | E
POLLWRNORM)
struct
poll_table_struct
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment