<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/init, branch v3.10.18</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.18</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.18'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-10-18T14:45:44Z</updated>
<entry>
<title>random: run random_int_secret_init() run after all late_initcalls</title>
<updated>2013-10-18T14:45:44Z</updated>
<author>
<name>Theodore Ts'o</name>
<email>tytso@mit.edu</email>
</author>
<published>2013-09-10T14:52:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b7a52f5111bc53ffbfff96330621cbde80df6ba4'/>
<id>urn:sha1:b7a52f5111bc53ffbfff96330621cbde80df6ba4</id>
<content type='text'>
commit 47d06e532e95b71c0db3839ebdef3fe8812fca2c upstream.

The some platforms (e.g., ARM) initializes their clocks as
late_initcalls for some unknown reason.  So make sure
random_int_secret_init() is run after all of the late_initcalls are
run.

Signed-off-by: "Theodore Ts'o" &lt;tytso@mit.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>rcu: Don't call wakeup() with rcu_node structure -&gt;lock held</title>
<updated>2013-06-10T20:37:11Z</updated>
<author>
<name>Steven Rostedt</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2013-05-28T21:32:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=016a8d5be6ddcc72ef0432d82d9f6fa34f61b907'/>
<id>urn:sha1:016a8d5be6ddcc72ef0432d82d9f6fa34f61b907</id>
<content type='text'>
This commit fixes a lockdep-detected deadlock by moving a wake_up()
call out from a rnp-&gt;lock critical section.  Please see below for
the long version of this story.

On Tue, 2013-05-28 at 16:13 -0400, Dave Jones wrote:

&gt; [12572.705832] ======================================================
&gt; [12572.750317] [ INFO: possible circular locking dependency detected ]
&gt; [12572.796978] 3.10.0-rc3+ #39 Not tainted
&gt; [12572.833381] -------------------------------------------------------
&gt; [12572.862233] trinity-child17/31341 is trying to acquire lock:
&gt; [12572.870390]  (rcu_node_0){..-.-.}, at: [&lt;ffffffff811054ff&gt;] rcu_read_unlock_special+0x9f/0x4c0
&gt; [12572.878859]
&gt; but task is already holding lock:
&gt; [12572.894894]  (&amp;ctx-&gt;lock){-.-...}, at: [&lt;ffffffff811390ed&gt;] perf_lock_task_context+0x7d/0x2d0
&gt; [12572.903381]
&gt; which lock already depends on the new lock.
&gt;
&gt; [12572.927541]
&gt; the existing dependency chain (in reverse order) is:
&gt; [12572.943736]
&gt; -&gt; #4 (&amp;ctx-&gt;lock){-.-...}:
&gt; [12572.960032]        [&lt;ffffffff810b9851&gt;] lock_acquire+0x91/0x1f0
&gt; [12572.968337]        [&lt;ffffffff816ebc90&gt;] _raw_spin_lock+0x40/0x80
&gt; [12572.976633]        [&lt;ffffffff8113c987&gt;] __perf_event_task_sched_out+0x2e7/0x5e0
&gt; [12572.984969]        [&lt;ffffffff81088953&gt;] perf_event_task_sched_out+0x93/0xa0
&gt; [12572.993326]        [&lt;ffffffff816ea0bf&gt;] __schedule+0x2cf/0x9c0
&gt; [12573.001652]        [&lt;ffffffff816eacfe&gt;] schedule_user+0x2e/0x70
&gt; [12573.009998]        [&lt;ffffffff816ecd64&gt;] retint_careful+0x12/0x2e
&gt; [12573.018321]
&gt; -&gt; #3 (&amp;rq-&gt;lock){-.-.-.}:
&gt; [12573.034628]        [&lt;ffffffff810b9851&gt;] lock_acquire+0x91/0x1f0
&gt; [12573.042930]        [&lt;ffffffff816ebc90&gt;] _raw_spin_lock+0x40/0x80
&gt; [12573.051248]        [&lt;ffffffff8108e6a7&gt;] wake_up_new_task+0xb7/0x260
&gt; [12573.059579]        [&lt;ffffffff810492f5&gt;] do_fork+0x105/0x470
&gt; [12573.067880]        [&lt;ffffffff81049686&gt;] kernel_thread+0x26/0x30
&gt; [12573.076202]        [&lt;ffffffff816cee63&gt;] rest_init+0x23/0x140
&gt; [12573.084508]        [&lt;ffffffff81ed8e1f&gt;] start_kernel+0x3f1/0x3fe
&gt; [12573.092852]        [&lt;ffffffff81ed856f&gt;] x86_64_start_reservations+0x2a/0x2c
&gt; [12573.101233]        [&lt;ffffffff81ed863d&gt;] x86_64_start_kernel+0xcc/0xcf
&gt; [12573.109528]
&gt; -&gt; #2 (&amp;p-&gt;pi_lock){-.-.-.}:
&gt; [12573.125675]        [&lt;ffffffff810b9851&gt;] lock_acquire+0x91/0x1f0
&gt; [12573.133829]        [&lt;ffffffff816ebe9b&gt;] _raw_spin_lock_irqsave+0x4b/0x90
&gt; [12573.141964]        [&lt;ffffffff8108e881&gt;] try_to_wake_up+0x31/0x320
&gt; [12573.150065]        [&lt;ffffffff8108ebe2&gt;] default_wake_function+0x12/0x20
&gt; [12573.158151]        [&lt;ffffffff8107bbf8&gt;] autoremove_wake_function+0x18/0x40
&gt; [12573.166195]        [&lt;ffffffff81085398&gt;] __wake_up_common+0x58/0x90
&gt; [12573.174215]        [&lt;ffffffff81086909&gt;] __wake_up+0x39/0x50
&gt; [12573.182146]        [&lt;ffffffff810fc3da&gt;] rcu_start_gp_advanced.isra.11+0x4a/0x50
&gt; [12573.190119]        [&lt;ffffffff810fdb09&gt;] rcu_start_future_gp+0x1c9/0x1f0
&gt; [12573.198023]        [&lt;ffffffff810fe2c4&gt;] rcu_nocb_kthread+0x114/0x930
&gt; [12573.205860]        [&lt;ffffffff8107a91d&gt;] kthread+0xed/0x100
&gt; [12573.213656]        [&lt;ffffffff816f4b1c&gt;] ret_from_fork+0x7c/0xb0
&gt; [12573.221379]
&gt; -&gt; #1 (&amp;rsp-&gt;gp_wq){..-.-.}:
&gt; [12573.236329]        [&lt;ffffffff810b9851&gt;] lock_acquire+0x91/0x1f0
&gt; [12573.243783]        [&lt;ffffffff816ebe9b&gt;] _raw_spin_lock_irqsave+0x4b/0x90
&gt; [12573.251178]        [&lt;ffffffff810868f3&gt;] __wake_up+0x23/0x50
&gt; [12573.258505]        [&lt;ffffffff810fc3da&gt;] rcu_start_gp_advanced.isra.11+0x4a/0x50
&gt; [12573.265891]        [&lt;ffffffff810fdb09&gt;] rcu_start_future_gp+0x1c9/0x1f0
&gt; [12573.273248]        [&lt;ffffffff810fe2c4&gt;] rcu_nocb_kthread+0x114/0x930
&gt; [12573.280564]        [&lt;ffffffff8107a91d&gt;] kthread+0xed/0x100
&gt; [12573.287807]        [&lt;ffffffff816f4b1c&gt;] ret_from_fork+0x7c/0xb0

Notice the above call chain.

rcu_start_future_gp() is called with the rnp-&gt;lock held. Then it calls
rcu_start_gp_advance, which does a wakeup.

You can't do wakeups while holding the rnp-&gt;lock, as that would mean
that you could not do a rcu_read_unlock() while holding the rq lock, or
any lock that was taken while holding the rq lock. This is because...
(See below).

&gt; [12573.295067]
&gt; -&gt; #0 (rcu_node_0){..-.-.}:
&gt; [12573.309293]        [&lt;ffffffff810b8d36&gt;] __lock_acquire+0x1786/0x1af0
&gt; [12573.316568]        [&lt;ffffffff810b9851&gt;] lock_acquire+0x91/0x1f0
&gt; [12573.323825]        [&lt;ffffffff816ebc90&gt;] _raw_spin_lock+0x40/0x80
&gt; [12573.331081]        [&lt;ffffffff811054ff&gt;] rcu_read_unlock_special+0x9f/0x4c0
&gt; [12573.338377]        [&lt;ffffffff810760a6&gt;] __rcu_read_unlock+0x96/0xa0
&gt; [12573.345648]        [&lt;ffffffff811391b3&gt;] perf_lock_task_context+0x143/0x2d0
&gt; [12573.352942]        [&lt;ffffffff8113938e&gt;] find_get_context+0x4e/0x1f0
&gt; [12573.360211]        [&lt;ffffffff811403f4&gt;] SYSC_perf_event_open+0x514/0xbd0
&gt; [12573.367514]        [&lt;ffffffff81140e49&gt;] SyS_perf_event_open+0x9/0x10
&gt; [12573.374816]        [&lt;ffffffff816f4dd4&gt;] tracesys+0xdd/0xe2

Notice the above trace.

perf took its own ctx-&gt;lock, which can be taken while holding the rq
lock. While holding this lock, it did a rcu_read_unlock(). The
perf_lock_task_context() basically looks like:

rcu_read_lock();
raw_spin_lock(ctx-&gt;lock);
rcu_read_unlock();

Now, what looks to have happened, is that we scheduled after taking that
first rcu_read_lock() but before taking the spin lock. When we scheduled
back in and took the ctx-&gt;lock, the following rcu_read_unlock()
triggered the "special" code.

The rcu_read_unlock_special() takes the rnp-&gt;lock, which gives us a
possible deadlock scenario.

	CPU0		CPU1		CPU2
	----		----		----

				     rcu_nocb_kthread()
    lock(rq-&gt;lock);
		    lock(ctx-&gt;lock);
				     lock(rnp-&gt;lock);

				     wake_up();

				     lock(rq-&gt;lock);

		    rcu_read_unlock();

		    rcu_read_unlock_special();

		    lock(rnp-&gt;lock);
    lock(ctx-&gt;lock);

**** DEADLOCK ****

&gt; [12573.382068]
&gt; other info that might help us debug this:
&gt;
&gt; [12573.403229] Chain exists of:
&gt;   rcu_node_0 --&gt; &amp;rq-&gt;lock --&gt; &amp;ctx-&gt;lock
&gt;
&gt; [12573.424471]  Possible unsafe locking scenario:
&gt;
&gt; [12573.438499]        CPU0                    CPU1
&gt; [12573.445599]        ----                    ----
&gt; [12573.452691]   lock(&amp;ctx-&gt;lock);
&gt; [12573.459799]                                lock(&amp;rq-&gt;lock);
&gt; [12573.467010]                                lock(&amp;ctx-&gt;lock);
&gt; [12573.474192]   lock(rcu_node_0);
&gt; [12573.481262]
&gt;  *** DEADLOCK ***
&gt;
&gt; [12573.501931] 1 lock held by trinity-child17/31341:
&gt; [12573.508990]  #0:  (&amp;ctx-&gt;lock){-.-...}, at: [&lt;ffffffff811390ed&gt;] perf_lock_task_context+0x7d/0x2d0
&gt; [12573.516475]
&gt; stack backtrace:
&gt; [12573.530395] CPU: 1 PID: 31341 Comm: trinity-child17 Not tainted 3.10.0-rc3+ #39
&gt; [12573.545357]  ffffffff825b4f90 ffff880219f1dbc0 ffffffff816e375b ffff880219f1dc00
&gt; [12573.552868]  ffffffff816dfa5d ffff880219f1dc50 ffff88023ce4d1f8 ffff88023ce4ca40
&gt; [12573.560353]  0000000000000001 0000000000000001 ffff88023ce4d1f8 ffff880219f1dcc0
&gt; [12573.567856] Call Trace:
&gt; [12573.575011]  [&lt;ffffffff816e375b&gt;] dump_stack+0x19/0x1b
&gt; [12573.582284]  [&lt;ffffffff816dfa5d&gt;] print_circular_bug+0x200/0x20f
&gt; [12573.589637]  [&lt;ffffffff810b8d36&gt;] __lock_acquire+0x1786/0x1af0
&gt; [12573.596982]  [&lt;ffffffff810918f5&gt;] ? sched_clock_cpu+0xb5/0x100
&gt; [12573.604344]  [&lt;ffffffff810b9851&gt;] lock_acquire+0x91/0x1f0
&gt; [12573.611652]  [&lt;ffffffff811054ff&gt;] ? rcu_read_unlock_special+0x9f/0x4c0
&gt; [12573.619030]  [&lt;ffffffff816ebc90&gt;] _raw_spin_lock+0x40/0x80
&gt; [12573.626331]  [&lt;ffffffff811054ff&gt;] ? rcu_read_unlock_special+0x9f/0x4c0
&gt; [12573.633671]  [&lt;ffffffff811054ff&gt;] rcu_read_unlock_special+0x9f/0x4c0
&gt; [12573.640992]  [&lt;ffffffff811390ed&gt;] ? perf_lock_task_context+0x7d/0x2d0
&gt; [12573.648330]  [&lt;ffffffff810b429e&gt;] ? put_lock_stats.isra.29+0xe/0x40
&gt; [12573.655662]  [&lt;ffffffff813095a0&gt;] ? delay_tsc+0x90/0xe0
&gt; [12573.662964]  [&lt;ffffffff810760a6&gt;] __rcu_read_unlock+0x96/0xa0
&gt; [12573.670276]  [&lt;ffffffff811391b3&gt;] perf_lock_task_context+0x143/0x2d0
&gt; [12573.677622]  [&lt;ffffffff81139070&gt;] ? __perf_event_enable+0x370/0x370
&gt; [12573.684981]  [&lt;ffffffff8113938e&gt;] find_get_context+0x4e/0x1f0
&gt; [12573.692358]  [&lt;ffffffff811403f4&gt;] SYSC_perf_event_open+0x514/0xbd0
&gt; [12573.699753]  [&lt;ffffffff8108cd9d&gt;] ? get_parent_ip+0xd/0x50
&gt; [12573.707135]  [&lt;ffffffff810b71fd&gt;] ? trace_hardirqs_on_caller+0xfd/0x1c0
&gt; [12573.714599]  [&lt;ffffffff81140e49&gt;] SyS_perf_event_open+0x9/0x10
&gt; [12573.721996]  [&lt;ffffffff816f4dd4&gt;] tracesys+0xdd/0xe2

This commit delays the wakeup via irq_work(), which is what
perf and ftrace use to perform wakeups in critical sections.

Reported-by: Dave Jones &lt;davej@redhat.com&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Signed-off-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2013-05-05T20:23:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-05-05T20:23:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=534c97b0950b1967bca1c753aeaed32f5db40264'/>
<id>urn:sha1:534c97b0950b1967bca1c753aeaed32f5db40264</id>
<content type='text'>
Pull 'full dynticks' support from Ingo Molnar:
 "This tree from Frederic Weisbecker adds a new, (exciting! :-) core
  kernel feature to the timer and scheduler subsystems: 'full dynticks',
  or CONFIG_NO_HZ_FULL=y.

  This feature extends the nohz variable-size timer tick feature from
  idle to busy CPUs (running at most one task) as well, potentially
  reducing the number of timer interrupts significantly.

  This feature got motivated by real-time folks and the -rt tree, but
  the general utility and motivation of full-dynticks runs wider than
  that:

   - HPC workloads get faster: CPUs running a single task should be able
     to utilize a maximum amount of CPU power.  A periodic timer tick at
     HZ=1000 can cause a constant overhead of up to 1.0%.  This feature
     removes that overhead - and speeds up the system by 0.5%-1.0% on
     typical distro configs even on modern systems.

   - Real-time workload latency reduction: CPUs running critical tasks
     should experience as little jitter as possible.  The last remaining
     source of kernel-related jitter was the periodic timer tick.

   - A single task executing on a CPU is a pretty common situation,
     especially with an increasing number of cores/CPUs, so this feature
     helps desktop and mobile workloads as well.

  The cost of the feature is mainly related to increased timer
  reprogramming overhead when a CPU switches its tick period, and thus
  slightly longer to-idle and from-idle latency.

  Configuration-wise a third mode of operation is added to the existing
  two NOHZ kconfig modes:

   - CONFIG_HZ_PERIODIC: [formerly !CONFIG_NO_HZ], now explicitly named
     as a config option.  This is the traditional Linux periodic tick
     design: there's a HZ tick going on all the time, regardless of
     whether a CPU is idle or not.

   - CONFIG_NO_HZ_IDLE: [formerly CONFIG_NO_HZ=y], this turns off the
     periodic tick when a CPU enters idle mode.

   - CONFIG_NO_HZ_FULL: this new mode, in addition to turning off the
     tick when a CPU is idle, also slows the tick down to 1 Hz (one
     timer interrupt per second) when only a single task is running on a
     CPU.

  The .config behavior is compatible: existing !CONFIG_NO_HZ and
  CONFIG_NO_HZ=y settings get translated to the new values, without the
  user having to configure anything.  CONFIG_NO_HZ_FULL is turned off by
  default.

  This feature is based on a lot of infrastructure work that has been
  steadily going upstream in the last 2-3 cycles: related RCU support
  and non-periodic cputime support in particular is upstream already.

  This tree adds the final pieces and activates the feature.  The pull
  request is marked RFC because:

   - it's marked 64-bit only at the moment - the 32-bit support patch is
     small but did not get ready in time.

   - it has a number of fresh commits that came in after the merge
     window.  The overwhelming majority of commits are from before the
     merge window, but still some aspects of the tree are fresh and so I
     marked it RFC.

   - it's a pretty wide-reaching feature with lots of effects - and
     while the components have been in testing for some time, the full
     combination is still not very widely used.  That it's default-off
     should reduce its regression abilities and obviously there are no
     known regressions with CONFIG_NO_HZ_FULL=y enabled either.

   - the feature is not completely idempotent: there is no 100%
     equivalent replacement for a periodic scheduler/timer tick.  In
     particular there's ongoing work to map out and reduce its effects
     on scheduler load-balancing and statistics.  This should not impact
     correctness though, there are no known regressions related to this
     feature at this point.

   - it's a pretty ambitious feature that with time will likely be
     enabled by most Linux distros, and we'd like you to make input on
     its design/implementation, if you dislike some aspect we missed.
     Without flaming us to crisp! :-)

  Future plans:

   - there's ongoing work to reduce 1Hz to 0Hz, to essentially shut off
     the periodic tick altogether when there's a single busy task on a
     CPU.  We'd first like 1 Hz to be exposed more widely before we go
     for the 0 Hz target though.

   - once we reach 0 Hz we can remove the periodic tick assumption from
     nr_running&gt;=2 as well, by essentially interrupting busy tasks only
     as frequently as the sched_latency constraints require us to do -
     once every 4-40 msecs, depending on nr_running.

  I am personally leaning towards biting the bullet and doing this in
  v3.10, like the -rt tree this effort has been going on for too long -
  but the final word is up to you as usual.

  More technical details can be found in Documentation/timers/NO_HZ.txt"

* 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (39 commits)
  sched: Keep at least 1 tick per second for active dynticks tasks
  rcu: Fix full dynticks' dependency on wide RCU nocb mode
  nohz: Protect smp_processor_id() in tick_nohz_task_switch()
  nohz_full: Add documentation.
  cputime_nsecs: use math64.h for nsec resolution conversion helpers
  nohz: Select VIRT_CPU_ACCOUNTING_GEN from full dynticks config
  nohz: Reduce overhead under high-freq idling patterns
  nohz: Remove full dynticks' superfluous dependency on RCU tree
  nohz: Fix unavailable tick_stop tracepoint in dynticks idle
  nohz: Add basic tracing
  nohz: Select wide RCU nocb for full dynticks
  nohz: Disable the tick when irq resume in full dynticks CPU
  nohz: Re-evaluate the tick for the new task after a context switch
  nohz: Prepare to stop the tick on irq exit
  nohz: Implement full dynticks kick
  nohz: Re-evaluate the tick from the scheduler IPI
  sched: New helper to prevent from stopping the tick in full dynticks
  sched: Kick full dynticks CPU that have more than one task enqueued.
  perf: New helper to prevent full dynticks CPUs from stopping tick
  perf: Kick full dynticks CPU if events rotation is needed
  ...
</content>
</entry>
<entry>
<title>rcu: Fix full dynticks' dependency on wide RCU nocb mode</title>
<updated>2013-05-04T06:30:34Z</updated>
<author>
<name>Frederic Weisbecker</name>
<email>fweisbec@gmail.com</email>
</author>
<published>2013-05-02T23:28:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=73c30828771acafb0a5e3a1c4cf75e6c5dc5f98a'/>
<id>urn:sha1:73c30828771acafb0a5e3a1c4cf75e6c5dc5f98a</id>
<content type='text'>
Commit 0637e029392386e6996f5d6574aadccee8315efa
("nohz: Select wide RCU nocb for full dynticks") intended
to force CONFIG_RCU_NOCB_CPU_ALL=y when full dynticks is
enabled.

However this option is part of a choice menu and Kconfig's
"select" instruction has no effect on such targets.

Fix this by using reverse dependencies on the targets we
don't want instead.

Reviewed-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Signed-off-by: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: Christoph Lameter &lt;cl@linux.com&gt;
Cc: Hakan Akkan &lt;hakanakkan@gmail.com&gt;
Cc: Ingo Molnar &lt;mingo@kernel.org&gt;
Cc: Kevin Hilman &lt;khilman@linaro.org&gt;
Cc: Li Zhong &lt;zhong@linux.vnet.ibm.com&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>Merge commit '8700c95adb03' into timers/nohz</title>
<updated>2013-05-02T15:54:19Z</updated>
<author>
<name>Frederic Weisbecker</name>
<email>fweisbec@gmail.com</email>
</author>
<published>2013-05-02T15:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c032862fba51a3ca504752d3a25186b324c5ce83'/>
<id>urn:sha1:c032862fba51a3ca504752d3a25186b324c5ce83</id>
<content type='text'>
The full dynticks tree needs the latest RCU and sched
upstream updates in order to fix some dependencies.

Merge a common upstream merge point that has these
updates.

Conflicts:
	include/linux/perf_event.h
	kernel/rcutree.h
	kernel/rcutree_plugin.h

Signed-off-by: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs</title>
<updated>2013-05-02T00:51:54Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-05-02T00:51:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=20b4fb485227404329e41ad15588afad3df23050'/>
<id>urn:sha1:20b4fb485227404329e41ad15588afad3df23050</id>
<content type='text'>
Pull VFS updates from Al Viro,

Misc cleanups all over the place, mainly wrt /proc interfaces (switch
create_proc_entry to proc_create(), get rid of the deprecated
create_proc_read_entry() in favor of using proc_create_data() and
seq_file etc).

7kloc removed.

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (204 commits)
  don't bother with deferred freeing of fdtables
  proc: Move non-public stuff from linux/proc_fs.h to fs/proc/internal.h
  proc: Make the PROC_I() and PDE() macros internal to procfs
  proc: Supply a function to remove a proc entry by PDE
  take cgroup_open() and cpuset_open() to fs/proc/base.c
  ppc: Clean up scanlog
  ppc: Clean up rtas_flash driver somewhat
  hostap: proc: Use remove_proc_subtree()
  drm: proc: Use remove_proc_subtree()
  drm: proc: Use minor-&gt;index to label things, not PDE-&gt;name
  drm: Constify drm_proc_list[]
  zoran: Don't print proc_dir_entry data in debug
  reiserfs: Don't access the proc_dir_entry in r_open(), r_start() r_show()
  proc: Supply an accessor for getting the data from a PDE's parent
  airo: Use remove_proc_subtree()
  rtl8192u: Don't need to save device proc dir PDE
  rtl8187se: Use a dir under /proc/net/r8180/
  proc: Add proc_mkdir_data()
  proc: Move some bits from linux/proc_fs.h to linux/{of.h,signal.h,tty.h}
  proc: Move PDE_NET() to fs/proc/proc_net.c
  ...
</content>
</entry>
<entry>
<title>proc: Split the namespace stuff out into linux/proc_ns.h</title>
<updated>2013-05-01T21:29:39Z</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2013-04-12T00:50:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0bb80f240520c4148b623161e7856858c021696d'/>
<id>urn:sha1:0bb80f240520c4148b623161e7856858c021696d</id>
<content type='text'>
Split the proc namespace stuff out into linux/proc_ns.h.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
cc: netdev@vger.kernel.org
cc: Serge E. Hallyn &lt;serge.hallyn@ubuntu.com&gt;
cc: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>init: Do not warn on non-zero initcall return</title>
<updated>2013-05-01T17:44:24Z</updated>
<author>
<name>Steven Rostedt</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2013-05-01T17:35:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bf5d770bd234a1e66322dd79c4ae5b397cd2b9c1'/>
<id>urn:sha1:bf5d770bd234a1e66322dd79c4ae5b397cd2b9c1</id>
<content type='text'>
Commit f91eb62f71b3 ("init: scream bloody murder if interrupts are
enabled too early") added three new warnings.  The first two seemed
reasonable, but the third included a warning when an initcall returned
non-zero.  Although, the third WARN() does include an imbalanced preempt
disabled, or irqs disable, it shouldn't warn if it only had an initcall
that just returns non-zero.

In fact, according to Linus, it shouldn't print at all.  As it only
prints with initcall_debug set, and that already shows enough
information to fix things.

Link: http://lkml.kernel.org/r/CA+55aFzaBC5SFi7=F2mfm+KWY5qTsBmOqgbbs8E+LUS8JK-sBg@mail.gmail.com

Suggested-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Reported-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>init/Kconfig: re-order CONFIG_EXPERT options to fix menuconfig display</title>
<updated>2013-05-01T00:04:09Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2013-04-30T22:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=657a52095fa3e8560d41047851f4e73a410f3ed2'/>
<id>urn:sha1:657a52095fa3e8560d41047851f4e73a410f3ed2</id>
<content type='text'>
The kconfig language requires that dependent options all follow the
menuconfig symbol in order to be collapsed below it.  Recently some hidden
options were added below the EXPERT menuconfig, but did not depend on
EXPERT (because hidden options can't).  This broke the display.  So
re-order all these options, and while we're here stick the PCI quirks
under the EXPERT menu (since it isn't sitting with any related options).

Before this commit, we get:
	[*] Configure standard kernel features (expert users)  ---&gt;
	[ ] Sysctl syscall support
	[*] Load all symbols for debugging/ksymoops
	...
	[ ] Embedded system

Now we get the older (and correct) behavior:
	[*] Configure standard kernel features (expert users)  ---&gt;
	[ ] Embedded system
And if you go into the expert menu you get the expert options:
	[ ] Sysctl syscall support
	[*] Load all symbols for debugging/ksymoops
	...

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: zhangwei(Jovi) &lt;jovi.zhangwei@huawei.com&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>usermodehelper: split remaining calls to call_usermodehelper_fns()</title>
<updated>2013-05-01T00:04:06Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2013-04-30T22:28:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=907ed1328d2a748f3d6028503d3e04c74ea62730'/>
<id>urn:sha1:907ed1328d2a748f3d6028503d3e04c74ea62730</id>
<content type='text'>
These are the only users of call_usermodehelper_fns().  This function
suffers from not being able to determine if the cleanup is called.  Even
if in this places the cleanup pointer is NULL, convert them to use the
separate call_usermodehelper_setup() + call_usermodehelper_exec()
functions so we can remove the _fns variant.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
Cc: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: David Howells &lt;dhowells@redhat.com&gt;
Cc: James Morris &lt;james.l.morris@oracle.com&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
