diff options
author | Andrei Vagin <avagin@google.com> | 2019-03-25 11:40:49 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-25 11:41:50 -0700 |
commit | ddc05e3053e387be9c81aa98c621b6fc92b01000 (patch) | |
tree | 405eb7901958aec9a73d32eac1f58c2536e4f9cc /pkg/sentry/usermem | |
parent | b81bfd6013ce871524e493272ac36b134f7fbbdf (diff) |
epoll: use ilist:generic_list instead of ilist:ilist
ilist:generic_list works faster than ilist:ilist.
Here is a beanchmark test to measure performance of epoll_wait, when readyList
isn't empty. It shows about 30% better performance with these changes.
Benchmark Time(ns) CPU(ns) Iterations
Before:
BM_EpollAllEvents 46725 46899 14286
After:
BM_EpollAllEvents 33167 33300 18919
PiperOrigin-RevId: 240185278
Change-Id: I3e33f9b214db13ab840b91613400525de5b58d18
Diffstat (limited to 'pkg/sentry/usermem')
0 files changed, 0 insertions, 0 deletions