lkml.org 
[lkml]   [2018]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 1/1] epoll: use rwlock in order to reduce ep_poll_callback() contention
On 2018-12-06 04:08, Davidlohr Bueso wrote:
>> On 12/3/18 6:02 AM, Roman Penyaev wrote:
>
>>> if (!ep_is_linked(epi)) {
>>> - list_add_tail(&epi->rdllink, &ep->rdllist);
>>> + /* Reverse ->ovflist, events should be in FIFO */
>>> + list_add(&epi->rdllink, &ep->rdllist);
>>> ep_pm_stay_awake(epi);
>>> }
>
> This should probably a separate patch as it fixes the ordering,
> regardless of the rwlock+xchg optimization.

Yes, should not be a part of this RFC. Thanks.

--
Roman

\
 
 \ /
  Last update: 2018-12-06 11:28    [W:0.114 / U:13.264 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site