+ relay-fix-timer-madness-v2.patch added to -mm tree
[email protected]
maintainerSubject: + relay-fix-timer-madness-v2.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 10 Jul 2013 15:23:03 -0700
The patch titled
Subject: relay-fix-timer-madness-v2
has been added to the -mm tree. Its filename is
relay-fix-timer-madness-v2.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/relay-fix-timer-madness-v2.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/relay-fix-timer-madness-v2.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: "zhangwei(Jovi)" <[email protected]>
Subject: relay-fix-timer-madness-v2
Changed from v1:
mod timer interval changed from jiffies+1 to HZ/10, as Ingo suggested.
---
kernel/relay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/relay.c renamed from kernel/relay.c~relay-fix-timer-madness-v2 +2 -2
@@ -342,7 +342,7 @@ static void wakeup_readers(unsigned long/* * Stupid polling for now: */ -mod_timer (&buf->timer, jiffies +1 ); +mod_timer (&buf->timer,HZ /10 ); }/**
@@ -360,7 +360,7 @@ static void __relay_reset(struct rchan_binit_waitqueue_head (&buf->read_wait);kref_init (&buf->kref);setup_timer (&buf->timer, wakeup_readers, (unsigned long )buf); -mod_timer (&buf->timer, jiffies +1 ); +mod_timer (&buf->timer,HZ /10 ); }else del_timer_sync (&buf->timer);
_
Patches currently in -mm which might be from [email protected] are
linux-next.patch
relay-fix-timer-madness.patch
relay-fix-timer-madness-v2.patch