aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr
Commit message (Collapse)AuthorAge
...
* | | Reviewer commentsGravatar Yash Tibrewal2018-11-20
| | |
| * | Also extend iomgr_windows.ccGravatar Guantao Liu2018-11-19
| | |
| * | Extend ev_posix.* to prepare for the new background poller 'epollbg',Gravatar Guantao Liu2018-11-19
| |/ | | | | | | | | | | | | | | | | and get rid of the dependency loop on the grpc shutdown path. Make sure all background closures are complete before shutting down the other grpc modules. Avoid using the backup poller in TCP endpoints if using the background poller.
* | CleanupGravatar Yash Tibrewal2018-11-16
| |
* | Merge masterGravatar Yash Tibrewal2018-11-16
|\|
| * Enable SO_REUSEADDR in client socketsGravatar Guantao Liu2018-11-09
| |
| * Allow setsockopt and getsockopt to softly fail for TCP_USER_TIMEOUTGravatar Yash Tibrewal2018-11-06
| |
| * Remeve memset(0) from arena allocated memory.Gravatar Soheil Hassas Yeganeh2018-11-05
| | | | | | | | | | | | | | Callers are updated to properly initialize the memory. This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY environment variable.
| * Merge pull request #17083 from yashykt/tcpusertimeoutGravatar Yash Tibrewal2018-11-02
| |\ | | | | | | Do not make TCP_USER_TIMEOUT failure an error
| | * Do not make TCP_USER_TIMEOUT failure an errorGravatar Yash Tibrewal2018-11-02
| | |
| * | Merge pull request #16823 from AspirinSJL/rqGravatar Juanli Shen2018-10-25
| |\ \ | | | | | | | | Account the memory usage of channel and call by resource quota
| | * | Fix OOM by expanding resource quota coverageGravatar Juanli Shen2018-10-25
| | | |
| * | | Don't unnecessarily create exec_ctxGravatar Yash Tibrewal2018-10-25
| |/ /
| * | Use union to make alignement robust.Gravatar Soheil Hassas Yeganeh2018-10-19
| | | | | | | | | | | | Suggested-by: vjpai@google.com
| * | Do not waste cache lines with unnecessary paddings.Gravatar Soheil Hassas Yeganeh2018-10-19
| | | | | | | | | | | | | | | | | | Make sure paddings are GPR_CACHELINE_SIZE minus the size of fields in that cache line. Otherwise, we will waste an additional cache line for no good reason.
| * | Add comment for grpc_error_get_int().Gravatar Soheil Hassas Yeganeh2018-10-18
| | | | | | | | | | | | Explain that the input parameter cannot be nullptr.
| * | Optimize error handling for special cases.Gravatar Soheil Hassas Yeganeh2018-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit contains a few improvements: 1. Using a consequetive range of [0..4], will allow us to merge all branches of error_is_special into one comparison. 2. With (1), we can remove the for loops to find entries in error_status_map with a single O(1) lookup. 3. grpc_error_is_special() code paths should be inlined for ref and unref to avoid callq for the majority of cases where speical error is used. 4. grpc_error_get_int() should never accept a nullptr argument to avoid an expensive branch in the hot path. Callers should all allocate a dummy int on the stack when calling.
| * | Merge pull request #16885 from ncteisen/tcp-user-timeoutGravatar Noah Eisen2018-10-16
| |\ \ | | | | | | | | Protect Spammy Log with Tracer
| * \ \ Merge pull request #10859 from haorenfsa/masterGravatar hcaseyal2018-10-16
| |\ \ \ | | | | | | | | | | fix: while using eventfd, a random fd will be closed when error occurs during creating eventfd
| | | * | protect spammy log with tracerGravatar ncteisen2018-10-15
| | |/ / | |/| |
| * | | Merge pull request #16838 from soheilhy/worktree-tcp-readGravatar Soheil Hassas Yeganeh2018-10-12
| |\ \ \ | | | | | | | | | | Simple optimizations in TCP read
| | * | | Do not wait for allocation if buffer is less than half the target.Gravatar Soheil Hassas Yeganeh2018-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | We overallocate by 2x for target. Unless buffer is more than half full, we should not delay read for more allocation.
| | * | | Update TCP read estimates as soon as we read the whole buffer.Gravatar Soheil Hassas Yeganeh2018-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we have a continous stream of bytes on the socket, we will never grow the buffer, because we will never get EAGAIN, and call finish. This is a serious performance issue, which can be misued. As soon as we have a full buffer, update the estimate.
| * | | | Merge pull request #16753 from jtattermusch/unify_fallthroughGravatar Jan Tattermusch2018-10-11
| |\ \ \ \ | | |/ / / | |/| | | Unify fallthrough comment in switch statements
| * | | | Remove grpc_use_signal which is no longer relevantGravatar Vijay Pai2018-10-10
| | | | |
| | * | | unify fallthrough comment in switch statementsGravatar Jan Tattermusch2018-10-10
| |/ / /
| * | | Merge pull request #16750 from AspirinSJL/timerGravatar Juanli Shen2018-10-08
| |\ \ \ | | | | | | | | | | Clean some timer code
| * \ \ \ Merge pull request #16795 from yashykt/disable_error_trackingGravatar Yash Tibrewal2018-10-08
| |\ \ \ \ | | | | | | | | | | | | Disable error tracking until Fathom changes are commited
| * \ \ \ \ Merge pull request #16714 from muxi/add-timer-manager-debugGravatar Muxi Yan2018-10-05
| |\ \ \ \ \ | | | | | | | | | | | | | | Core infrastructure for timer manager debug
| | | * | | | Disable error tracking till Fathom changes are commitedGravatar Yash Tibrewal2018-10-05
| | | | | | |
| | * | | | | Clean-up unused variableGravatar Muxi Yan2018-10-03
| | | | | | |
| | * | | | | Polish macro againGravatar Muxi Yan2018-10-02
| | | | | | |
| * | | | | | Shard channelz stats by CPUGravatar ncteisen2018-10-02
| | |/ / / / | |/| | | |
| | | * | | Clean some timer codeGravatar Juanli Shen2018-10-01
| | | | | |
| | * | | | polish macroGravatar Muxi Yan2018-10-01
| | | | | |
| | * | | | Add alias for macro for internal appGravatar Muxi Yan2018-10-01
| | | | | |
| * | | | | Address feedback commentGravatar Sree Kuchibhotla2018-09-28
| | | | | |
| | | | * | read_fd should always have a certain value when create error occurs [fix: ↵Gravatar haorenfsa2018-09-29
| | | |/ / | | | | | | | | | | | | | | | while using eventfd, when error occurs during creating eventfd, a random fd will be closed]
| * | | | Merge branch 'master' into sreek-epGravatar Sree Kuchibhotla2018-09-28
| |\ \ \ \ | | | |/ / | | |/| |
| | | * | Log init counter after the cv is initializedGravatar Muxi Yan2018-09-27
| | | | |
| | * | | Add TODO in fd_global_shutdown()Gravatar Juanli Shen2018-09-27
| | | | |
| | | * | Remove another cvGravatar Muxi Yan2018-09-27
| | | | |
| | | * | Wrap everything with macroGravatar Muxi Yan2018-09-27
| | | | |
| * | | | Add comments on what 'covering' a write meansGravatar Sree Kuchibhotla2018-09-27
| |/ / /
| | * | Core infrastructure for timer manager debugGravatar Muxi Yan2018-09-27
| | | |
| * | | Merge pull request #16700 from soheilhy/timer-shardsGravatar Yang Gao2018-09-27
| |\ \ \ | | | | | | | | | | Increase the maximum number of timer shards to 32.
| * \ \ \ Merge pull request #16698 from soheilhy/branch-optimization-errGravatar Noah Eisen2018-09-26
| |\ \ \ \ | | | | | | | | | | | | Avoid extra branches in grpc_error_get_(str|int).
| * | | | | Empty implementation of grpc_use_signal since not actually needed anymoreGravatar Vijay Pai2018-09-26
| | |_|/ / | |/| | |
| | | * | Set a minimum bound of 1 for the number of timer shards.Gravatar Soheil Hassas Yeganeh2018-09-25
| | | | |
| | | * | Increase the maximum number of timer shards to 32.Gravatar Soheil Hassas Yeganeh2018-09-25
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Commit 82f9886e accidentally sets the maximum number of timer shards 1, from previously 32. We probably want to increase the max shards further.