Re: [PATCH] CONFIG_CC_STACKPROTECTOR is no longer experimental

2012-07-09 Thread Jean Delvare
Le lundi 09 juillet 2012 à 09:56 +0200, Jean Delvare a écrit : > As for options still depending on EXPERIMENTAL when they no longer > should, this can partly be explained when the EXPERIMENTAL dependency > doesn't show up in the short description. This is the case of > CONFIG_CC_STACKPROTECTOR. As

Re: [PATCH] net: cgroup: fix out of bounds accesses

2012-07-09 Thread Eric Dumazet
On Mon, 2012-07-09 at 07:01 -0400, Neil Horman wrote: > Thank you for doing this Eric, Gao. Just to be sure (I asked in the previous > thread), would it be better to avoid the length check in skb_update_prio, and > instead update the netdev tables to be long enough in cgrp_create and in > netprio

Re: [PATCH] mm/memcg: return -EBUSY when oom-kill-disable modified and memcg use_hierarchy, has children

2012-07-09 Thread Michal Hocko
On Thu 05-07-12 18:55:08, Wanpeng Li wrote: > From: Wanpeng Li > > When oom-kill-disable modified by the user and current memcg use_hierarchy, > the change can occur, provided the current memcg has no children. If it > has children, return -EBUSY is enough. I do not think EBUSY makes any differe

Re: [RFC][PATCHv2 2/3] lib: printf: append support of '%*p[Mm][FR]'

2012-07-09 Thread Andrei Emeltchenko
Hi, On Tue, Jul 03, 2012 at 11:48:00AM -0700, Joe Perches wrote: > On Tue, 2012-07-03 at 21:32 +0300, Andy Shevchenko wrote: > > On Tue, Jul 3, 2012 at 6:33 PM, Joe Perches wrote: > > > On Tue, 2012-07-03 at 13:06 +0300, Andy Shevchenko wrote: > > >> There are many places in the kernel where the

Re: [PATCH 2/2] fat (exportfs): reconnect file handles to evicted inodes/dentries

2012-07-09 Thread Steven J. Magnani
On Sun, 2012-07-08 at 02:00 +0900, OGAWA Hirofumi wrote: > "Steven J. Magnani" writes: > > >> You mean the unhashed inode is created by ->get_parent()? If so, the > >> root cause sounds like ->get_parent() itself. If not, I'm not > >> understanding the meaning of the temporary/unofficial inode h

Re: [RFC][PATCH 14/26] sched, numa: Numa balancer

2012-07-09 Thread Peter Zijlstra
On Sat, 2012-07-07 at 14:26 -0400, Rik van Riel wrote: > > +/* > > + * Assumes symmetric NUMA -- that is, each node is of equal size. > > + */ > > +static void set_max_mem_load(unsigned long load) > > +{ > > + unsigned long old_load; > > + > > + spin_lock(&max_mem_load.lock); > > + old_

[tip:x86/urgent] x86: CONFIG_CC_STACKPROTECTOR= y is no longer experimental

2012-07-09 Thread tip-bot for Jean Delvare
Commit-ID: 2a8ac745e3171889d364235b8203342e28526d2c Gitweb: http://git.kernel.org/tip/2a8ac745e3171889d364235b8203342e28526d2c Author: Jean Delvare AuthorDate: Fri, 6 Jul 2012 16:08:25 +0200 Committer: Ingo Molnar CommitDate: Mon, 9 Jul 2012 13:59:53 +0200 x86: CONFIG_CC_STACKPROTECTOR

Re: [PATCH] net: cgroup: fix out of bounds accesses

2012-07-09 Thread Neil Horman
On Mon, Jul 09, 2012 at 01:50:52PM +0200, Eric Dumazet wrote: > On Mon, 2012-07-09 at 07:01 -0400, Neil Horman wrote: > > > Thank you for doing this Eric, Gao. Just to be sure (I asked in the > > previous > > thread), would it be better to avoid the length check in skb_update_prio, > > and > >

UBI fastmap updates

2012-07-09 Thread Richard Weinberger
This is the next round of UBI fastmap updates. It fixes all issues pointed out by Shmulik. :-) If you want to test fastmap you can use my git repo: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubi2.git ubi2/v17 Enjoy! //richard [PATCH 1/7] UBI: Fastmap: Fix lock imbalance in case of an error

[PATCH 7/7] UBI: Fastmap: Make checkpatch.pl happy

2012-07-09 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/fastmap.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c index 44b95ce..be73a1d 100644 --- a/drivers/mtd/ubi/fastmap.c +++ b/drivers/mtd/ubi/fastmap.c @@ -912,7

[PATCH 2/7] UBI: Fastmap: Get rid of find_fastmap switch

2012-07-09 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/attach.c | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c index 106aa01..02505ff 100644 --- a/drivers/mtd/ubi/attach.c +++ b/drivers/mtd/ubi/attach.c

Re: [PATCH 0/7] arm/dts: Audio support for OMAP4 devices (SDP, PandaBoard)

2012-07-09 Thread Peter Ujfalusi
Hello, On 06/08/2012 04:01 PM, Peter Ujfalusi wrote: > Hello, > > The following series enable the audio functionality on OMAP4 based devices > using > twl6040 as audio codec. > > The series adds the needed bindings in the dts for the OMAP IPs, twl6040 MFD > device and for the audio connection o

[PATCH 6/7] UBI: Fastmap: Make sure that find_wl_entry() never returns NULL

2012-07-09 Thread Richard Weinberger
If the rbtree contains only one entry and we don't have fastmap on flash find_wl_entry() might return NULL. This must not happen. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/wl.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/ubi/wl.c b/drivers/m

Re: 82571EB: Detected Hardware Unit Hang

2012-07-09 Thread Joe Jin
On 07/09/12 17:21, Eric Dumazet wrote: > On Mon, 2012-07-09 at 16:51 +0800, Joe Jin wrote: >> Hi list, >> >> I'm seeing a Unit Hang even with the latest e1000e driver 2.0.0 when doing >> scp test. this issue is easy do reproduced on SUN FIRE X2270 M2, just copy >> a big file (>500M) from another se

[PATCH 5/7] UBI: Fastmap: Kerneldoc fixes

2012-07-09 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/attach.c |3 +++ drivers/mtd/ubi/ubi.h|2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c index 85c9e0c..14d2580 100644 --- a/drivers/mtd/ubi/attach.c +++ b/driv

[PATCH 3/7] UBI: Fastmap: Fix memory leak in error path

2012-07-09 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/attach.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c index 02505ff..5d61ba7 100644 --- a/drivers/mtd/ubi/attach.c +++ b/drivers/mtd/ubi/attach.c @@ -1448,7 +1448

[PATCH 4/7] UBI: Fastmap: Fix double free in error path

2012-07-09 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/attach.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c index 5d61ba7..85c9e0c 100644 --- a/drivers/mtd/ubi/attach.c +++ b/drivers/mtd/ubi/attach.c @@ -1322,7 +1

[PATCH 1/7] UBI: Fastmap: Fix lock imbalance in case of an error

2012-07-09 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/wl.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 6c69017..79e3257 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c @@ -271,10 +271,10 @@ static int p

[patch] BFS 421-1: cleanup try_preempt

2012-07-09 Thread Hillf Danton
The helper, resched_suitable_idle, is changed to be used in try_preempt. SOB: Hillf Danton --- --- a/kernel/sched/bfs.cFri Jul 6 20:30:10 2012 +++ b/kernel/sched/bfs.cMon Jul 9 20:00:52 2012 @@ -859,10 +859,15 @@ static void resched_best_idle(struct tas resched_best_mas

[patch] BFS 421-1: fix yield_to

2012-07-09 Thread Hillf Danton
The time slice of local runqueue is bogus but updated in the main schedule function. SOB: Hillf Danton --- --- a/kernel/sched/bfs.cMon Jul 9 20:05:00 2012 +++ b/kernel/sched/bfs.cMon Jul 9 20:06:00 2012 @@ -4634,21 +4634,16 @@ EXPORT_SYMBOL(yield); bool __sched yield_to(struct

Re: [RFC][PATCH 14/26] sched, numa: Numa balancer

2012-07-09 Thread Peter Zijlstra
On Sat, 2012-07-07 at 14:26 -0400, Rik van Riel wrote: > > You asked how and why Andrea's algorithm converges. > After looking at both patch sets for a while, and asking > for clarification, I think I can see how his code converges. Do share.. what does it balance on and where does it converge to

[patch] BFS 421-1: refactor sys_sched_yield

2012-07-09 Thread Hillf Danton
Runqueue lock is replaced with preempt. SOB: Hillf Danton --- --- a/kernel/sched/bfs.cMon Jul 9 20:06:50 2012 +++ b/kernel/sched/bfs.cMon Jul 9 20:08:50 2012 @@ -4518,19 +4518,8 @@ SYSCALL_DEFINE3(sched_getaffinity, pid_t */ SYSCALL_DEFINE0(sched_yield) { - struct tas

Re: [RFC][PATCH 14/26] sched, numa: Numa balancer

2012-07-09 Thread Peter Zijlstra
On Sun, 2012-07-08 at 14:35 -0400, Rik van Riel wrote: > > This looks like something that should be fixed before the > code is submitted for merging upstream. static bool __task_can_migrate(struct task_struct *t, u64 *runtime, int node) { #ifdef CONFIG_CPUSETS if (!node_isset(node, t->me

Re: [PATCH] mm: hugetlb: flush dcache before returning zeroed huge page to userspace

2012-07-09 Thread Michal Hocko
On Wed 04-07-12 15:32:56, Will Deacon wrote: > When allocating and returning clear huge pages to userspace as a > response to a fault, we may zero and return a mapping to a previously > dirtied physical region (for example, it may have been written by > a private mapping which was freed as a result

<    3   4   5   6   7   8