Re: [ANNOUNCE] 3.14.10-rt7

2014-07-09 Thread Pavel Vasilyev

09.07.2014 15:34, Henrik Austad пишет:

On Wed, Jul 09, 2014 at 02:01:58PM +0400, Pavel Vasilyev wrote:

07.07.2014 18:34, Thomas Gleixner пишет:



A few words on the status and the future of RT:
---

The situation since last years RTLWS (https://lwn.net/Articles/572740/)
has not improved at all, it's worse than before.

While shortly after RTLWS quite some people promised to whip up proper
funding, nothing has materialized and my personal situation is worse
than before.


Create site, add PayPal [DONATE] button.


But.. where would they donate money?

Jokes aside, setting up an easy way to support the project wouldn't be such
a bad idea. Is this something we (tglx) could talk (convince)
linuxfoundation into hosting?


Linux foundation || OSADL || Independent hosting ...
Why not? Grsecurity project so lives. When I worked actively with grsecurity, 
10-20$ sent almost every month. Now they found sponsors, сreated commercial 
technical support.



--

 Pavel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [ANNOUNCE] 3.14.10-rt7

2014-07-09 Thread Henrik Austad
On Wed, Jul 09, 2014 at 02:01:58PM +0400, Pavel Vasilyev wrote:
> 07.07.2014 18:34, Thomas Gleixner пишет:
> >This time with proper Subject line :)
> >
> >Dear RT Folks,
> >
> >I'm pleased to announce the 3.14.10-rt7 release. 3.14.10-rt6 is a not
> >announced update to 3.14.10 without any RT changes aside of resolving
> >the patch conflicts.
> >
> >Changes since 3.14.10-rt6:
> >
> >* Do not clear PF_NO_SETAFFINITY flag in select_fallback_rq() -
> >  from Steven
> >
> >* Prevent workqueue deadlock/stall observed with XFS
> >
> >
> >A few words on the status and the future of RT:
> >---
> >
> >The situation since last years RTLWS (https://lwn.net/Articles/572740/)
> >has not improved at all, it's worse than before.
> >
> >While shortly after RTLWS quite some people promised to whip up proper
> >funding, nothing has materialized and my personal situation is worse
> >than before.
> 
> Create site, add PayPal [DOANTE] button.

But.. where would they donate money?

Jokes aside, setting up an easy way to support the project wouldn't be such 
a bad idea. Is this something we (tglx) could talk (convince) 
linuxfoundation into hosting?

As said in the original mail, the kernel has benefited greatly from this 
effort over the last few years, making the effort more formal could help 
secure funding and let tglx et al focus on the task at hand and not on 
silly money issues.

Just my 0.1237 Norwegian krone.

-- 
Henrik Austad
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [ANNOUNCE] 3.14.10-rt7

2014-07-09 Thread Pavel Vasilyev

07.07.2014 18:34, Thomas Gleixner пишет:

This time with proper Subject line :)

Dear RT Folks,

I'm pleased to announce the 3.14.10-rt7 release. 3.14.10-rt6 is a not
announced update to 3.14.10 without any RT changes aside of resolving
the patch conflicts.

Changes since 3.14.10-rt6:

* Do not clear PF_NO_SETAFFINITY flag in select_fallback_rq() -
  from Steven

* Prevent workqueue deadlock/stall observed with XFS


A few words on the status and the future of RT:
---

The situation since last years RTLWS (https://lwn.net/Articles/572740/)
has not improved at all, it's worse than before.

While shortly after RTLWS quite some people promised to whip up proper
funding, nothing has materialized and my personal situation is worse
than before.


Create site, add PayPal [DOANTE] button.


--

 Pavel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[ANNOUNCE] 3.14.10-rt7

2014-07-07 Thread Thomas Gleixner
This time with proper Subject line :)

Dear RT Folks,

I'm pleased to announce the 3.14.10-rt7 release. 3.14.10-rt6 is a not
announced update to 3.14.10 without any RT changes aside of resolving
the patch conflicts.

Changes since 3.14.10-rt6:

   * Do not clear PF_NO_SETAFFINITY flag in select_fallback_rq() -
 from Steven

   * Prevent workqueue deadlock/stall observed with XFS


A few words on the status and the future of RT:
---

The situation since last years RTLWS (https://lwn.net/Articles/572740/)
has not improved at all, it's worse than before. 

While shortly after RTLWS quite some people promised to whip up proper
funding, nothing has materialized and my personal situation is worse
than before.

I'm really tired of all the politics involved, the blantant lies and
the marketing bullshit which I have to bear. I learned a few month ago
that a certain kernel vendor invented most of RT anyway and is the
expert in this field, so the customers dont have to worry about my
statements.

Just for the record: The initial preempt-RT technology was brought to
you mostly by Ingo Molnar, Steven Rostedt, Paul Mckenney, Peter
Zijlstra and myself with lots of input from Doug Niehaus, who
researched full in kernel preemption already in the 1990s. The
technology rewrite around 3.0-rt was done by me with help from Peter
and Steven, and that's what preempt-RT today is based on.

Sure, people can believe whatever marketing bullshit they want, but
that doesn't make the truth go away. And the truth is, that those who
claim expertise are just a lying bunch of leeches.

What really set me off was the recent blunt question, when I'm going
to quit. What does this mean? Is someone out there just waiting that I
step down as preempt-RT maintainer, so some corporate entity can step
up as the saviour of the Linux RT world? So instead of merily leeching
someone seeks active control over the project. Nice try.

To make it entirely clear: I'm not going to step down, I'm just going
to spend less time on the project adjusted to the very limited funding
I have, simply because I need to work on stuff which pays the bills.

The consequences are obvious:

  - No new features, I'm rather pondering to drop stuff for 3.16-rt
which is not absolutely required for basic operation just to make
my life easier.

  - No massive effort to bring preempt-RT upstream

After my last talk about the state of preempt-RT at LinuxCon Japan,
Linus told me: "That was far more depressing than I feared".

The mainline kernel has seen a lot of benefit from the preempt-RT
efforts in the past 10 years and there is a lot more stuff which needs
to be done upstream in order to get preempt-RT fully integrated, which
certainly would improve the general state of the Linux kernel again.

Nothing for the faint hearted, but I have a pretty clear plan about
what needs to be done. Though that's going to be a plan for a long
time and probably obsolete at the point where I have enough spare time
to tackle it - about 15 years from now, when I'm going to retire.

At this point I want to thank all those who funded this effort so
far (RedHat and a few others) and OSADL for their testing efforts.

Enough ranting, give it a good testing,

  Thomas

---
The delta patch against 3.14.10-rt6 is appended below and can be found
here:

  
http://www.kernel.org/pub/linux/kernel/projects/rt/3.14/incr/patch-3.14.10-rt6-rt7.patch.xz

The RT patch against 3.14.10 can be found here:

  
http://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.10-rt7.patch.xz

The split quilt queue is available at:

  
http://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patches-3.14.10-rt7.tar.xz


Index: linux-stable/kernel/sched/core.c
===
--- linux-stable.orig/kernel/sched/core.c
+++ linux-stable/kernel/sched/core.c
@@ -1376,12 +1376,6 @@ out:
}
}
 
-   /*
-* Clear PF_NO_SETAFFINITY, otherwise we wreckage
-* migrate_disable/enable. See optimization for
-* PF_NO_SETAFFINITY tasks there.
-*/
-   p->flags &= ~PF_NO_SETAFFINITY;
return dest_cpu;
 }
 
@@ -2917,9 +2911,8 @@ need_resched:
 
 static inline void sched_submit_work(struct task_struct *tsk)
 {
-   if (!tsk->state || tsk_is_pi_blocked(tsk))
+   if (!tsk->state)
return;
-
/*
 * If a worker went to sleep, notify and ask workqueue whether
 * it wants to wake up a task to maintain concurrency.
@@ -2927,6 +2920,10 @@ static inline void sched_submit_work(str
if (tsk->flags & PF_WQ_WORKER)
wq_worker_sleeping(tsk);
 
+
+   if (tsk_is_pi_blocked(tsk))
+   return;
+
/*
 * If we are going to sleep and we have plugged IO queued,
 * make sure to submit it to avoid deadlocks.
Index: linux-stable/kernel/workqueue.c
===